]> granicus.if.org Git - nethack/commit
is_damageable was always true
authorcohrs <cohrs>
Sun, 6 Apr 2003 15:02:57 +0000 (15:02 +0000)
committercohrs <cohrs>
Sun, 6 Apr 2003 15:02:57 +0000 (15:02 +0000)
commitb39599719eb5e5f1a2e9b35f2162d30d17988bc8
treefab2a5d09502c55aa7786ce1a9387e95f8a995de
parent420981789e4fb7c084475a3daa63d770deb8c0e3
is_damageable was always true
<Someone> noticed that is_damageable used the address of is_rottable
instead of calling it.  Unfortunately, there doesn't seem to be a good
compiler warning to detect uses of function addresses as booleans.
doc/fixes34.2
include/objclass.h