avoid telling hero they missed a monster they aren't aware of

Resolves #1441
This commit is contained in:
nhmall
2025-09-04 22:13:07 -04:00
parent e4f0d1a3e2
commit fe357a6f04
4 changed files with 17 additions and 7 deletions

View File

@@ -6259,6 +6259,14 @@ stumble_onto_mimic(struct monst *mtmp)
map_invisible(mtmp->mx, mtmp->my);
}
boolean
mimic_disguised_as_non_mon(struct monst *mtmp)
{
return (!sensemon(mtmp)
&& M_AP_TYPE(mtmp)
&& M_AP_TYPE(mtmp) != M_AP_MONSTER);
}
staticfn void
nohandglow(struct monst *mon)
{