warning about hidden monsters

If a monster is hiding, such as underwater, general warning should locate it
This commit is contained in:
cohrs
2002-02-15 06:57:19 +00:00
parent 93b46d7a60
commit f0b8d8fec5

View File

@@ -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