Merge branch 'NetHack-3.6.2'
This commit is contained in:
@@ -382,7 +382,7 @@ register struct obj *obj;
|
||||
} else if (mtmp->mappearance) {
|
||||
const char *what = "thing";
|
||||
|
||||
switch (mtmp->m_ap_type) {
|
||||
switch (M_AP_TYPE(mtmp)) {
|
||||
case M_AP_OBJECT:
|
||||
what = simple_typename(mtmp->mappearance);
|
||||
break;
|
||||
@@ -484,7 +484,7 @@ struct obj *obj;
|
||||
}
|
||||
/* mimic must be revealed before we know whether it
|
||||
actually moves because line-of-sight may change */
|
||||
if (mtmp->m_ap_type)
|
||||
if (M_AP_TYPE(mtmp))
|
||||
seemimic(mtmp);
|
||||
omx = mtmp->mx, omy = mtmp->my;
|
||||
mnexto(mtmp);
|
||||
@@ -2105,7 +2105,7 @@ long timeout;
|
||||
and_vanish[0] = '\0';
|
||||
if ((mtmp->minvis && !See_invisible)
|
||||
|| (mtmp->data->mlet == S_MIMIC
|
||||
&& mtmp->m_ap_type != M_AP_NOTHING))
|
||||
&& M_AP_TYPE(mtmp) != M_AP_NOTHING))
|
||||
suppress_see = TRUE;
|
||||
|
||||
if (mtmp->mundetected) {
|
||||
@@ -2830,7 +2830,7 @@ struct obj *obj;
|
||||
}
|
||||
wakeup(mtmp, TRUE);
|
||||
} else {
|
||||
if (mtmp->m_ap_type && !Protection_from_shape_changers
|
||||
if (M_AP_TYPE(mtmp) && !Protection_from_shape_changers
|
||||
&& !sensemon(mtmp))
|
||||
stumble_onto_mimic(mtmp);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user