Merge branch 'NetHack-3.6.2'
This commit is contained in:
10
src/cmd.c
10
src/cmd.c
@@ -2257,7 +2257,7 @@ int final;
|
||||
: surface(u.ux, u.uy)); /* catchall; shouldn't happen */
|
||||
you_are(buf, from_what(WWALKING));
|
||||
}
|
||||
if (Upolyd && (u.uundetected || g.youmonst.m_ap_type != M_AP_NOTHING))
|
||||
if (Upolyd && (u.uundetected || U_AP_TYPE != M_AP_NOTHING))
|
||||
youhiding(TRUE, final);
|
||||
|
||||
/* internal troubles, mostly in the order that prayer ranks them */
|
||||
@@ -3079,16 +3079,16 @@ int msgflag; /* for variant message phrasing */
|
||||
char *bp, buf[BUFSZ];
|
||||
|
||||
Strcpy(buf, "hiding");
|
||||
if (g.youmonst.m_ap_type != M_AP_NOTHING) {
|
||||
if (U_AP_TYPE != M_AP_NOTHING) {
|
||||
/* mimic; hero is only able to mimic a strange object or gold
|
||||
or hallucinatory alternative to gold, so we skip the details
|
||||
for the hypothetical furniture and monster cases */
|
||||
bp = eos(strcpy(buf, "mimicking"));
|
||||
if (g.youmonst.m_ap_type == M_AP_OBJECT) {
|
||||
if (U_AP_TYPE == M_AP_OBJECT) {
|
||||
Sprintf(bp, " %s", an(simple_typename(g.youmonst.mappearance)));
|
||||
} else if (g.youmonst.m_ap_type == M_AP_FURNITURE) {
|
||||
} else if (U_AP_TYPE == M_AP_FURNITURE) {
|
||||
Strcpy(bp, " something");
|
||||
} else if (g.youmonst.m_ap_type == M_AP_MONSTER) {
|
||||
} else if (U_AP_TYPE == M_AP_MONSTER) {
|
||||
Strcpy(bp, " someone");
|
||||
} else {
|
||||
; /* something unexpected; leave 'buf' as-is */
|
||||
|
||||
Reference in New Issue
Block a user