From 53d22badf6565c7f72d070c6a75c557d418e05af Mon Sep 17 00:00:00 2001 From: "nethack.rankin" Date: Fri, 30 Nov 2007 07:11:59 +0000 Subject: [PATCH] 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. --- src/invent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invent.c b/src/invent.c index 4b3877945..87a6e96a1 100644 --- a/src/invent.c +++ b/src/invent.c @@ -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.");