]> granicus.if.org Git - nethack/commit
U337 - putting gold in a shop container
authorcohrs <cohrs>
Mon, 17 Mar 2003 05:38:36 +0000 (05:38 +0000)
committercohrs <cohrs>
Mon, 17 Mar 2003 05:38:36 +0000 (05:38 +0000)
commitf159dd596c08b1f1d8c5a5b3da7e985945ce46d1
tree8449960640418973accfe33be1093142f4f21fd2
parentb85f492320459ce24fd84b27b23007b2fbb52bfd
U337 - putting gold in a shop container
When you drop a container in a shop, gold in that container is added to
your credit.  However, if you put gold into a container after it was already
on the shop floor, no credit was given.  Then when you picked up the bag or
tried to take out the gold, you'd be debited for it.  This change causes
in_container to handle gold the same as container dropping does.
doc/fixes34.2
src/pickup.c