]> granicus.if.org Git - nethack/commit
0 gold pieces (trunk only)
authornethack.rankin <nethack.rankin>
Thu, 1 Nov 2007 19:24:19 +0000 (19:24 +0000)
committernethack.rankin <nethack.rankin>
Thu, 1 Nov 2007 19:24:19 +0000 (19:24 +0000)
commit7c860335c16bfb8382eab4b75ebd01dbd1a69120
treec98ae050aa6a12d6bd0d3671ae7b1c788531522f
parent408a36bc5f2483fa1bc02c82fa8e77a4e3e3c5ae
0 gold pieces (trunk only)

     Newsgroup discussion about the devnull tournament which started
today has pointed out that ``d4294967296$'' would cause getobj() to create
a gold piece object with quantity 0 which then got dropped to the floor.
(It's specific to gold; other types of objects don't behave that way.)
Also, wrapping which went past negative and zero all the way to positive
again (like 429496729*10+7, yielding 1) wasn't detected.
doc/fixes35.0
src/invent.c