]> granicus.if.org Git - nethack/commit
fix github issue #211 - wrong parentheses
authorPatR <rankin@nethack.org>
Thu, 8 Aug 2019 18:25:36 +0000 (11:25 -0700)
committerPatR <rankin@nethack.org>
Thu, 8 Aug 2019 18:25:36 +0000 (11:25 -0700)
commita2a257a5125fc7c15dcd7047ba77ecc20ce2039e
tree3d17ba069586e50fdb292a27e9022993ecde89f9
parentcc3d97d9b3793d4ea982730d4fbfca17fe0ed655
fix github issue #211 - wrong parentheses

Fixes #211

dopickup() was getting the wrong value from pickup_checks() due
to misplaced closing parenthesis.  But it didn't actually impact
play; picking things up from engulfer's minvent while swallowed
worked even though the special check for that was failing.  The
code which was accidentally being skipped can probably go away but
I haven't gone that far.
src/hack.c