version 1.92 | | version 1.93 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_util_c = | | * static char *rcsid_spell_util_c = |
* "$Id: spell_util.c,v 1.92 2005/07/10 21:12:14 ryo_saeba Exp $"; | | * "$Id: spell_util.c,v 1.93 2005/07/15 08:02:00 ryo_saeba Exp $"; |
*/ | | */ |
| | |
| | |
| | |
return success; | | return success; |
} | | } |
for( pl=first_player; pl!=NULL; pl=pl->next ) | | for( pl=first_player; pl!=NULL; pl=pl->next ) |
if( ( pl->ob->contr->party_number == caster->contr->party_number ) && ( pl->ob->map == caster->map ) ) | | if( ( pl->ob->contr->party_number == caster->contr->party_number ) && ( on_same_map( pl->ob, caster ) ) ) |
{ | | { |
cast_spell( pl->ob, caster, pl->ob->facing, spell, stringarg ); | | cast_spell( pl->ob, caster, pl->ob->facing, spell, stringarg ); |
} | | } |