delayed mimicing appearance change

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.
This commit is contained in:
cohrs
2003-08-05 17:28:59 +00:00
parent 001c2ae58a
commit 7dd569f3f1
2 changed files with 2 additions and 9 deletions

View 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

View 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);