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

Comparing deliantra/server/server/spell_util.C (file contents):
Revision 1.26 by root, Thu Dec 21 01:33:50 2006 UTC vs.
Revision 1.27 by root, Mon Dec 25 11:25:50 2006 UTC

1061 if (caster->contr->party == NULL) 1061 if (caster->contr->party == NULL)
1062 { 1062 {
1063 spell->remove (); 1063 spell->remove ();
1064 return success; 1064 return success;
1065 } 1065 }
1066 for (pl = first_player; pl != NULL; pl = pl->next) 1066 for_all_players (pl)
1067 if ((pl->ob->contr->party == caster->contr->party) && (on_same_map (pl->ob, caster))) 1067 if ((pl->ob->contr->party == caster->contr->party) && (on_same_map (pl->ob, caster)))
1068 { 1068 {
1069 cast_spell (pl->ob, caster, pl->ob->facing, spell, stringarg); 1069 cast_spell (pl->ob, caster, pl->ob->facing, spell, stringarg);
1070 } 1070 }
1071 spell->remove (); 1071 spell->remove ();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines