fix #Q108 - adding candles to Candelabrum while underwater
From a bug report, but just received: you can't affix candles to the candelabrum while underwater, because the underwater check (can't light candles while underwater) is made too soon. If you somehow managed to get a lit lamp, candle, or candelabrum while underwater, you wouldn't be able to extinguish it for same reason. The bug report included a URL for a fix, but I didn't look at that. This changes use_candle() to rely on use_lamp() for underwater handling, and changes use_lamp() and use_candelabrum() to check for extinguishing before making the underwater check.
This commit is contained in:
@@ -302,6 +302,7 @@ don't access freed memory after engraving "wrests one last charnge" from wand
|
||||
a magic portal could be rendered inactive for the hero if a successful
|
||||
hangup save took place during level change; leaving the level by any
|
||||
means other than triggering the portal would reactivate it
|
||||
hero wasn't allowed to affix candles to the candelabrum while underwater
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
Reference in New Issue
Block a user