]> granicus.if.org Git - nethack/commit
Fix purple worm ending up in solid wall
authorPasi Kallinen <paxed@alt.org>
Sat, 28 Mar 2020 09:40:39 +0000 (11:40 +0200)
committerPasi Kallinen <paxed@alt.org>
Sat, 28 Mar 2020 09:40:42 +0000 (11:40 +0200)
commitb8668da3ea5b7d17bcdf8266d48f11396c521fa4
tree985cb49868b296bd118202fbf83335dac83b0d25
parent3eed500886900e690a100a7370200dcd0abcd02a
Fix purple worm ending up in solid wall

If you're in a vault, the vault guard enters, and your tame purple worm
swallows and kills the guard, the worm ended up inside the vault wall.
Instead return the attacker to the old location, if the defender's
position isn't good.
doc/fixes37.0
src/mhitm.c