fireproof candles

This commit is contained in:
arromdee
2006-02-09 03:40:26 +00:00
parent 83807a84f5
commit 3f493c2518
3 changed files with 9 additions and 0 deletions

View File

@@ -189,6 +189,7 @@ Orion and Norn should be giant sized
Orion, Norn, Cyclops and Lord Surtur should be able to tear webs
ensure monsters cannot teleport to or be created outside nonpassable bounds
of special levels
candles should not be fireproof
Platform- and/or Interface-Specific Fixes

View File

@@ -119,6 +119,7 @@ polymorphed spellbooks may turn blank or be too faint to read
avoid inappropriate message when using a cursed lamp while blind
player polymorphed as a guardian naga spit the wrong kind of venom
put #define for potion occupant chance and cursed wand zap chance in one place
candles should not be fireproof
Platform- and/or Interface-Specific Fixes

View File

@@ -1165,6 +1165,13 @@ register struct obj *otmp;
int otyp = otmp->otyp;
int omat = objects[otyp].oc_material;
/* Candles can be burned, but they're not flammable in the sense that
* they can't get fire damage and it makes no sense for them to be
* fireproofed.
*/
if (Is_candle(otmp))
return FALSE;
if (objects[otyp].oc_oprop == FIRE_RES || otyp == WAN_FIRE)
return FALSE;