]> granicus.if.org Git - nethack/commit
fix #K3231 - objects vs pits and holes
authorPatR <rankin@nethack.org>
Tue, 22 Dec 2020 21:48:29 +0000 (13:48 -0800)
committerPatR <rankin@nethack.org>
Tue, 22 Dec 2020 21:48:29 +0000 (13:48 -0800)
commit1b7c372f5d92391d5c43a8ac2cdbffb478b349e2
tree29aece65fbb1b52a0ccae005f01ec3ad17c898f5
parent934808be0e28c00e0fcd50a5caf49c5227aea658
fix #K3231 - objects vs pits and holes

This got out of hand pretty quickly.  can_reach_floor() had
different criteria than trap activation.  Objects dropped at a
hole locations that don't fall through were treated as if they
were at the bottom of an abyss, so couldn't be examined or
picked up.

This a bunch of changes; it is bound to introduce some new bugs.
doc/fixes37.0
src/do.c
src/dokick.c
src/dothrow.c
src/engrave.c
src/hack.c
src/pickup.c