B14016 - monster detection of mimics

When display_monster was changed in 3.4.0 to take multiple sightflags, the
mimic case was not updated completely.
This commit is contained in:
cohrs
2002-12-10 06:22:22 +00:00
parent 68cfa968dd
commit 5abb2e2a3d
2 changed files with 3 additions and 1 deletions

View File

@@ -371,7 +371,7 @@ display_monster(x, y, mon, sightflags, worm_tail)
* the mimic was mimicing.
*/
if (mon_mimic && sightflags) {
if (mon_mimic && (sightflags == PHYSICALLY_SEEN)) {
switch (mon->m_ap_type) {
default:
impossible("display_monster: bad m_ap_type value [ = %d ]",