version 1.13 | | version 1.14 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_attack_c = | | * static char *rcsid_spell_attack_c = |
* "$Id: spell_attack.c,v 1.13 2004/06/01 07:20:56 mwedel Exp $"; | | * "$Id: spell_attack.c,v 1.14 2004/06/11 06:12:58 mwedel Exp $"; |
*/ | | */ |
| | |
| | |
| | |
/* If there is nothing living on this space, no need to go further */ | | /* If there is nothing living on this space, no need to go further */ |
if (!(mflags & P_IS_ALIVE)) continue; | | if (!(mflags & P_IS_ALIVE)) continue; |
| | |
for (tmp = get_map_ob(m, x, y); tmp; tmp = tmp->above) | | for (tmp = get_map_ob(m, nx, ny); tmp; tmp = tmp->above) |
if (QUERY_FLAG(tmp, FLAG_MONSTER)) break; | | if (QUERY_FLAG(tmp, FLAG_MONSTER)) break; |
| | |
/* There can be living objects that are not monsters */ | | /* There can be living objects that are not monsters */ |