ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/spell_effect.C
(Generate patch)

Comparing deliantra/server/server/spell_effect.C (file contents):
Revision 1.3 by root, Sat Aug 26 23:36:34 2006 UTC vs.
Revision 1.4 by root, Tue Aug 29 07:34:00 2006 UTC

1/* 1/*
2 * static char *rcsid_spell_effect_c = 2 * static char *rcsid_spell_effect_c =
3 * "$Id: spell_effect.C,v 1.3 2006/08/26 23:36:34 root Exp $"; 3 * "$Id: spell_effect.C,v 1.4 2006/08/29 07:34:00 root Exp $";
4 */ 4 */
5 5
6 6
7/* 7/*
8 CrossFire, A Multiplayer game for X-windows 8 CrossFire, A Multiplayer game for X-windows
595 { 595 {
596 new_draw_info(NDI_UNIQUE | NDI_NAVY, 0,op,"You can't cast that here.\n"); 596 new_draw_info(NDI_UNIQUE | NDI_NAVY, 0,op,"You can't cast that here.\n");
597 return 0; 597 return 0;
598 } 598 }
599 599
600 /* Check to see if the player is on a transport */
601 if (op->contr && op->contr->transport) {
602 new_draw_info(NDI_UNIQUE | NDI_NAVY, 0,op,"You need to exit the transport to cast that.\n");
603 return 0;
604 }
605
606 /* The first thing to do is to check if we have a marked destination 600 /* The first thing to do is to check if we have a marked destination
607 * dummy is used to make a check inventory for the force 601 * dummy is used to make a check inventory for the force
608 */ 602 */
609 dummy=arch_to_object(spell->other_arch); 603 dummy=arch_to_object(spell->other_arch);
610 if(dummy == NULL){ 604 if(dummy == NULL){

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines