Merge branch 'NetHack-3.6.2'
This commit is contained in:
+2
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user