]> granicus.if.org Git - nethack/commit
obj sanity checking specific to globs
authorPatR <rankin@nethack.org>
Fri, 17 May 2019 20:28:41 +0000 (13:28 -0700)
committerPatR <rankin@nethack.org>
Fri, 17 May 2019 20:28:41 +0000 (13:28 -0700)
commit255d969da2427ef32827be1d2533228226d0bcef
tree3d081edc31b884436ffbfa6a4c2c82dd8c4536c1
parentf172c6fd94f19fd0cd36a7c3b1c2a48fd0d5bd80
obj sanity checking specific to globs

Verify that objects with the globby bit set are actually glob objects,
that their quantity is 1, and that their weight at least superficially
makes sense.
src/mkobj.c