]> granicus.if.org Git - nethack/commitdiff
delayed mimicing appearance change
authorcohrs <cohrs>
Tue, 5 Aug 2003 17:28:59 +0000 (17:28 +0000)
committercohrs <cohrs>
Tue, 5 Aug 2003 17:28:59 +0000 (17:28 +0000)
Back in April, <Someone> 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.

doc/fixes34.2
src/polyself.c

index c56e03ea4e12f04de6f351a3fa5f4776a14c0dad..ead0e57238b344f07e465bfce52b65b9dd56a18b 100644 (file)
@@ -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
index d73aefc6b8a39d58fc54cc0f26055b2f45fed317..352b32fa1dcdddd29720a345e1cb5ae6bd4c488b 100644 (file)
@@ -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);