]> granicus.if.org Git - nethack/commit
throwing recoil inside shop
authorPatR <rankin@nethack.org>
Mon, 17 Dec 2018 11:05:10 +0000 (03:05 -0800)
committerPatR <rankin@nethack.org>
Mon, 17 Dec 2018 11:05:10 +0000 (03:05 -0800)
commit942961e3e28d06b50e85daba585ca22e1a159643
tree9a7e9a208c9fb7589284cd5abb3ca8f1064b28eb
parentf9cef53758740fe3c35a53db58d8d04781849b6e
throwing recoil inside shop

Another bug from seven years ago, sent directly to devteam so no #H
number.  Report stated that throwing recoil could move a levitating
hero diagonally through a shop's doorway to exit it.  If the thrown
item was unpaid, it remained unpaid after landing on shop's floor
and was an unlisted item on shop's bill.  Moving diagonally out the
door seems to have been fixed, but the same effect still occurred
if you were far enough from the door to have the shopkeeper vacate
his door-blocking spot and throwing recoil took hero to that spot.
The thrown unpaid item remained unpaid, and walking out the door was
treated as shop robbery.
doc/fixes36.2
src/dothrow.c