]> granicus.if.org Git - nethack/commit
alternate bear trap fix
authorPatR <rankin@nethack.org>
Fri, 28 Sep 2018 01:42:12 +0000 (18:42 -0700)
committerPatR <rankin@nethack.org>
Fri, 28 Sep 2018 01:42:12 +0000 (18:42 -0700)
commit21db5a3ae6ee0ec7f2fbc055133c244985512819
tree0e9da7d779f1a52a0e8dd8ab0539508c30e07db9
parentf87931a7bffdd9c97e25ec276a21bbc3932bdc45
alternate bear trap fix

Fix the situation of Flying hero failing to untrap a bear trap that
was resulting in the trap becoming hidden.  Previous fix prevented
hero from moving onto the trap's location so that the reason for
hiding it didn't occur.  This moves the hero and forces the trap,
so it will become unhidden again before there's any chance to notice
that it had been hidden.

Status 'Flying' conflicts with being trapped at floor level, but that
is a separate, known issue.  I'll have to resurrect my unfinished fix
for that sooner rather than later.
include/flag.h
src/hack.c
src/trap.c