fix recent gold drop fix (trunk only)

A recent change to prevent dropping 2**32 gold from producing an
object with quanity 0 also prevented dropping all your gold when omitting
a count.
This commit is contained in:
nethack.rankin
2007-11-30 07:11:59 +00:00
parent c06c7bbf5e
commit 53d22badf6

View File

@@ -1083,7 +1083,7 @@ register const char *let,*word;
* to your money supply. The LRS is the tax bureau
* from Larn.
*/
if (cnt <= 0) {
if (allowcnt == 2 && cnt <= 0) {
if (cnt < 0 || !prezero)
pline_The(
"LRS would be very interested to know you have that much.");