version 1.120 | | version 1.121 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_effect_c = | | * static char *rcsid_spell_effect_c = |
* "$Id: spell_effect.c,v 1.120 2004/06/01 07:21:11 mwedel Exp $"; | | * "$Id: spell_effect.c,v 1.121 2004/06/16 07:09:45 mwedel Exp $"; |
*/ | | */ |
| | |
| | |
| | |
while(op!=NULL && op->type!=PLAYER) | | while(op!=NULL && op->type!=PLAYER) |
op=op->env; | | op=op->env; |
| | |
if(op!=NULL) { | | if(op!=NULL && op->map) { |
if (get_map_flags(op->map, NULL, op->x, op->y, NULL, NULL) & P_NO_CLERIC) | | if (get_map_flags(op->map, NULL, op->x, op->y, NULL, NULL) & P_NO_CLERIC) |
new_draw_info(NDI_UNIQUE, 0,op,"You feel something fizzle inside you."); | | new_draw_info(NDI_UNIQUE, 0,op,"You feel something fizzle inside you."); |
else | | else |