version 1.133 | | version 1.134 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_effect_c = | | * static char *rcsid_spell_effect_c = |
* "$Id: spell_effect.c,v 1.133 2005/08/12 13:46:34 ryo_saeba Exp $"; | | * "$Id: spell_effect.c,v 1.134 2005/08/25 20:44:16 akirschbaum Exp $"; |
*/ | | */ |
| | |
| | |
| | |
m = op->map; | | m = op->map; |
mflags = get_map_flags(m, &m, x, y, &x, &y); | | mflags = get_map_flags(m, &m, x, y, &x, &y); |
| | |
if (mflags & (P_WALL | P_NO_MAGIC)) | | if (mflags & (P_WALL | P_NO_MAGIC | P_OUT_OF_MAP)) |
break; | | break; |
| | |
/* Get the top most object */ | | /* Get the top most object */ |