]> granicus.if.org Git - nethack/commit
untrap downwards while over trap
authorPatR <rankin@nethack.org>
Sun, 30 Sep 2018 23:37:32 +0000 (16:37 -0700)
committerPatR <rankin@nethack.org>
Sun, 30 Sep 2018 23:37:32 +0000 (16:37 -0700)
commit053880c149858fafd4016e786ae576284dec0f5f
treeaf6ceaa5b5f0813c3d8673fc693431be176010f8
parentd9ecc425662edf3558a6519d10515b290f1749a0
untrap downwards while over trap

Force trap to activate during failed untrap attempt if done while
already at the trap's location, to match the recent change in
behavior when failed attempt occurs while adjacent to the trap.

Most noticeable while flying over bear traps, but affects all
failed untrap attempts.
include/hack.h
src/hack.c
src/trap.c