version 1.95 | | version 1.96 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_effect_c = | | * static char *rcsid_spell_effect_c = |
* "$Id: spell_effect.c,v 1.95 2003/02/03 07:23:48 mwedel Exp $"; | | * "$Id: spell_effect.c,v 1.96 2003/02/16 05:54:28 mwedel Exp $"; |
*/ | | */ |
| | |
| | |
| | |
| | |
mflags = get_map_flags(m, &m, x, y, &x, &y); | | mflags = get_map_flags(m, &m, x, y, &x, &y); |
| | |
if (!(mflags & P_OUT_OF_MAP) && (mflags & P_IS_ALIVE)) { | | if (mflags & P_OUT_OF_MAP) { |
| | new_draw_info(NDI_UNIQUE, 0,op,"Nothing is there."); |
| | return 0; |
| | } |
| | |
| | if (mflags & P_IS_ALIVE) { |
for(target=get_map_ob(m,x,y);target;target=target->above) | | for(target=get_map_ob(m,x,y);target;target=target->above) |
if(QUERY_FLAG(target,FLAG_MONSTER)) { | | if(QUERY_FLAG(target,FLAG_MONSTER)) { |
/* oky doky. got a target monster. Lets make a blinding attack */ | | /* oky doky. got a target monster. Lets make a blinding attack */ |