]> granicus.if.org Git - nethack/commit
unpaid sanity_check: leaving shop via recoil
authorPatR <rankin@nethack.org>
Tue, 6 Dec 2022 18:57:14 +0000 (10:57 -0800)
committerPatR <rankin@nethack.org>
Tue, 6 Dec 2022 18:57:14 +0000 (10:57 -0800)
commite724034995a6a3d91b3154e3b426bc95f6c6c652
tree13d30567c43ae0eb7b98287f2f00cdf4937e54a4
parentf61a862a47ff91f2309fa45e89a3908eff9ad31c
unpaid sanity_check: leaving shop via recoil

Throwing while levitating or getting hit for knockback effect could
move hero carrying unpaid items out of a shop.  If that happened,
sanity_check complained that unpaid items weren't in a tended shop.

Check for entering and leaving special rooms during recoil same as
gets done for ordinary movement.  Leaving a shop via recoil or
knockback while owing a bill now gets treated as robbery immediately
rather than waiting until hero voluntarily moves to another spot
after recoil has finished.
doc/fixes3-7-0.txt
src/dothrow.c