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.
This commit is contained in:
cohrs
2003-04-06 15:02:57 +00:00
parent 420981789e
commit b39599719e
2 changed files with 2 additions and 1 deletions

View File

@@ -35,6 +35,7 @@ dropping from height or throwing a normal container may damage contents
some Magicbane messages treated "erinys" as plural
initialize artifacts before processing $WIZKIT
clean up inconsistency between various places quaff is documented
is_damageable was using is_rottable incorrectly
Platform- and/or Interface-Specific Fixes