From: cohrs Date: Fri, 15 Feb 2002 06:57:19 +0000 (+0000) Subject: warning about hidden monsters X-Git-Tag: MOVE2GIT~3169 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f0b8d8fec517dfa77dbf2611faf520c7ed924ce5;p=nethack warning about hidden monsters If a monster is hiding, such as underwater, general warning should locate it --- diff --git a/src/display.c b/src/display.c index 97a4ef2b4..268f7cf6b 100644 --- a/src/display.c +++ b/src/display.c @@ -681,6 +681,8 @@ newsym(x,y) /* also gets rid of any invisibility glyph */ display_monster(x, y, mon, see_it ? PHYSICALLY_SEEN : DETECTED, worm_tail); } + else if (mon && mon_warning(mon) && !is_worm_tail(mon)) + display_warning(mon); else if (glyph_is_invisible(levl[x][y].glyph)) map_invisible(x, y); else