version 1.79 | | version 1.80 |
---|
| | |
/* | | /* |
* static char *rcsid_monster_c = | | * static char *rcsid_monster_c = |
* "$Id: monster.c,v 1.79 2005/07/16 19:03:01 qal21 Exp $"; | | * "$Id: monster.c,v 1.80 2005/07/16 21:10:39 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
tmp=tmp->above; | | tmp=tmp->above; |
| | |
if (!tmp) { | | if (!tmp) { |
LOG(llevDebug,"find_nearest_living_creature: map %s (%d,%d) has is_alive set but did not find a mosnter?\n", | | LOG(llevDebug,"find_nearest_living_creature: map %s (%d,%d) has is_alive set but did not find a monster?\n", |
m->path, nx, ny); | | m->path, nx, ny); |
} | | } |
else { | | else { |
| | |
if(enemy->hide) { | | if(enemy->hide) { |
make_visible(enemy); | | make_visible(enemy); |
new_draw_info(NDI_UNIQUE,0, enemy, | | new_draw_info(NDI_UNIQUE,0, enemy, |
"Your light reveals your hidding spot!"); | | "Your light reveals your hiding spot!"); |
} | | } |
return 1; | | return 1; |
} else if (enemy->hide) return 0; | | } else if (enemy->hide) return 0; |