]> granicus.if.org Git - nethack/commit
poly'd hero mimic hiding vs polymorph
authornethack.rankin <nethack.rankin>
Sat, 13 Jun 2009 02:10:21 +0000 (02:10 +0000)
committernethack.rankin <nethack.rankin>
Sat, 13 Jun 2009 02:10:21 +0000 (02:10 +0000)
commitad1dec0745e7caa46fc72f07af24ba531b1dccec
tree88cd57069d6735cfe93f12cfce156d49acfa052a
parent71f3fb70245032f4c9a7dfd243357faebc93a27f
poly'd hero mimic hiding vs polymorph

     From a bug report, if you were a mimic
who was hiding (via #monster, becoming a strange object) and polymorphed
into some other monster type, you retained the hidden/object form.  That
didn't happen when reverting to normal form, or when polymorphing into a
monster while involuntarily mimicking gold, but handling for the latter
inadvertently blocked dealing with the hiding-voluntarily case.
doc/fixes34.4
src/polyself.c