]> granicus.if.org Git - nethack/commit
autopickup during failed #untrap attempt (trunk only)
authornethack.rankin <nethack.rankin>
Thu, 6 Apr 2006 04:55:07 +0000 (04:55 +0000)
committernethack.rankin <nethack.rankin>
Thu, 6 Apr 2006 04:55:07 +0000 (04:55 +0000)
commit820f3f70d980bec3719674d8dd49596cc135169a
tree64180c11b01f3c15b4b0c156f94f35bb6c5360ba
parent2c0a072ef1df0b39728c799517ec5a9996f6a86f
autopickup during failed #untrap attempt (trunk only)

     From a bug report, moving into a trap
during a failed untrap attempt didn't autopickup any objects there or
report about objects which aren't picked up.  Although that appears to have
been intentional, change move_into_trap() to behave more like a regular
move.  (I wrote this bit of code and don't remember whether the no pickup
aspect was deliberate; I suspect it might have been to avoid the redundant
"there is a trap here" message which you get when pickup checking is done
but not everything on the spot gets picked up.  This patch suppresses that
message.)
doc/fixes35.0
src/trap.c