]> granicus.if.org Git - nethack/commit
fix #H239 - doppleganger/mimic bug
authornethack.rankin <nethack.rankin>
Fri, 9 Feb 2007 00:25:47 +0000 (00:25 +0000)
committernethack.rankin <nethack.rankin>
Fri, 9 Feb 2007 00:25:47 +0000 (00:25 +0000)
commitc2a3a3a38bddcb562fe99b8a0520d5522108f8ee
tree53b8b79ebb5e04538f62276b1f9dadf80bd31b30
parent1fe4018f3bf3e98f26eb1517b77735a896dcad74
fix #H239 - doppleganger/mimic bug

     From a bug report:  a shapechanger
which becomes a mimic would always stay as 'm' rather than take on object
or furniture shape.  Same applied to monsters which hide in other ways.
The code did that deliberately, but I don't think that it's actually
necessary so this lets them mimic/hide when they're in the right shape.
If they change form to non-mimic/hider while concealed, concealment ends.

     It would be fun to have shapechangers-as-mimics actually change their
mimicked shapes periodically, but this doesn't do that.  They'd probably
change to non-mimic quicker than they'd mimic something else so it's not
worth the effort.
doc/fixes34.4
src/mon.c