U313 - crash applying figurine, cursed bell or candles

Reported for applying a figurine that was used up, but I found the same
problem could affect cursed bells and candles.  Modified all three helper
functions to indicate when the object is gone, and modified doapply to
deal with this before doing the artifact check.
This commit is contained in:
cohrs
2003-03-04 06:53:25 +00:00
parent 27977b7c15
commit 4d6cfb01a7
2 changed files with 21 additions and 14 deletions

View File

@@ -3,6 +3,7 @@ $RCSfile$ $Revision$ $Date$
General Fixes and Modified Features
-----------------------------------
avoid panic when secondary weapon is cursed while generating bones level
don't crash when applying a figurine, candle, or bell that gets used up
Platform- and/or Interface-Specific Fixes