]> granicus.if.org Git - nethack/commit
U464 - picking up items while swallowed in a shop
authorcohrs <cohrs>
Wed, 21 May 2003 17:12:47 +0000 (17:12 +0000)
committercohrs <cohrs>
Wed, 21 May 2003 17:12:47 +0000 (17:12 +0000)
commite6ed77f634955fcc0195dd7977f33de8ac9c847d
tree7a6cebab736678b382fb9b2cfd4a6eb9e1e246ca
parentbbaa40993b4a8d6735ea2033dcb1c6c73694b7a7
U464 - picking up items while swallowed in a shop
The bug report referred to greased hands, but that doesn't affect the
behavior.  If you drop an object while swallowed or engulfed in a shop, and
that object had previously been picked up from the shop floor, the object
was treated as costly.  In some cases, this could result in impossible
errors later on.  Perhaps object ox & oy should be modified when in
player/monster inventory, but this fix addresses the specific problem by
not doing the costly check while swallowed.
doc/fixes34.2
src/pickup.c