Merge branch 'NetHack-3.6.2'

This commit is contained in:
nhmall
2019-04-22 14:36:58 -04:00
30 changed files with 126 additions and 114 deletions
+2 -2
View File
@@ -521,7 +521,7 @@ register struct monst *mtmp;
}
/* hero might be a mimic, concealed via #monster */
if (g.youmonst.data->mlet == S_MIMIC && g.youmonst.m_ap_type && !range2
if (youmonst.data->mlet == S_MIMIC && U_AP_TYPE && !range2
&& foundyou && !u.uswallow) {
boolean sticky = sticks(g.youmonst.data);
@@ -541,7 +541,7 @@ register struct monst *mtmp;
}
/* non-mimic hero might be mimicking an object after eating m corpse */
if (g.youmonst.m_ap_type == M_AP_OBJECT && !range2 && foundyou
if (U_AP_TYPE == M_AP_OBJECT && !range2 && foundyou
&& !u.uswallow) {
if (!canspotmon(mtmp))
map_invisible(mtmp->mx, mtmp->my);