]> granicus.if.org Git - nethack/commit
robustness of #timeout and #wizintrinsic
authorPatR <rankin@nethack.org>
Fri, 30 Jun 2017 00:54:01 +0000 (17:54 -0700)
committerPatR <rankin@nethack.org>
Fri, 30 Jun 2017 00:54:01 +0000 (17:54 -0700)
commitff6139c6c55b579788a2596f2f109613dabb6c46
tree49b1d0ca5deef9ab96031a4e8b4d4dddacf637b0
parentf9af42a2b77495472a0ab16b78310574da052f9f
robustness of #timeout and #wizintrinsic

Remove the assumption of property index values from the list of
property names.  Move the properties that can't have timed values
in normal play to after those which can.  (Mainly only matters for
the #wizintrinsic command.)

Bug fix: #wizintrinsic variable 'any' wasn't initialized properly
if 'a_int' is smaller than a long or a pointer.  The separator line
I've added was ending up as a menu choice.
include/prop.h
src/cmd.c
src/timeout.c