Skip to content

Commit

Permalink
fix recent gold drop fix (trunk only)
Browse files Browse the repository at this point in the history
     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.
  • Loading branch information
nethack.rankin committed Nov 30, 2007
1 parent c06c7bb commit 53d22ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/invent.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
Expand Down

0 comments on commit 53d22ba

Please sign in to comment.