From: cohrs Date: Tue, 5 Aug 2003 17:28:59 +0000 (+0000) Subject: delayed mimicing appearance change X-Git-Tag: MOVE2GIT~1860 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7dd569f3f1248f133270bb6bd1a4ee41a86f4097;p=nethack delayed mimicing appearance change Back in April, reported to the list that when you are polymorphed into a mimic and #monster, and return to human form while still mimicing, your appearance does not change. This was due to a change between 3.4.0 and 3.4.1 that caused all mimicing to go thru one case and the code to change appearance was actually never executed. --- diff --git a/doc/fixes34.2 b/doc/fixes34.2 index c56e03ea4..ead0e5723 100644 --- a/doc/fixes34.2 +++ b/doc/fixes34.2 @@ -122,6 +122,7 @@ when casting force bolt spell while engulfed go ahead and use the engulfers a fog cloud shouldn't pummel you with debris do not let an attached iron ball drag the hero through a location that the hero could not move normally +hero's appearance should change immediately after mimicing completes Platform- and/or Interface-Specific Fixes diff --git a/src/polyself.c b/src/polyself.c index d73aefc6b..352b32fa1 100644 --- a/src/polyself.c +++ b/src/polyself.c @@ -54,17 +54,9 @@ const char *fmt, *arg; find_ac(); if (was_mimicking) { if (multi < 0) unmul(""); - } else { - /* - * Clear any in-progress imitations -- the case where not a - * mimic is handled above. - * - * Except, this is not complete if the hero ever gets the - * chance to imitate anything, then s/he may be mimicing - * gold, but not the way its done for eating a mimic. - */ youmonst.m_ap_type = M_AP_NOTHING; } + newsym(u.ux,u.uy); You(fmt, arg);