levitating and a lit potion of oil explodes and destroys some inventory
fix "object_is_local" panic when saving bones after hero is killed by explosion
produced by dropped or thrown lit potion of oil
+gold dropped on altar by hero wouldn't stack with gold dropped there by monster
if lava burns up the player's water walking boots, the player falls in
the messages for lava burning items up are always printed
fix used-up magic trap trying to hit steed.
-/* NetHack 3.5 do.c $NHDT-Date$ $NHDT-Branch$:$NHDT-Revision$ */
+/* NetHack 3.5 do.c $NHDT-Date: 1426497723 2015/03/16 09:22:03 $ $NHDT-Branch: H3724 $:$NHDT-Revision: 1.109 $ */
/* NetHack 3.5 do.c $Date: 2014/11/18 03:10:39 $ $Revision: 1.101 $ */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* NetHack may be freely redistributed. See license for details. */
if (Blind)
return;
- /* KMH, conduct */
- u.uconduct.gnostic++;
+ if (obj->oclass != COIN_CLASS) {
+ /* KMH, conduct */
+ u.uconduct.gnostic++;
+ } else {
+ /* coins don't have bless/curse status */
+ obj->blessed = obj->cursed = 0;
+ }
- if ((obj->blessed || obj->cursed) && obj->oclass != COIN_CLASS) {
+ if (obj->blessed || obj->cursed) {
There("is %s flash as %s %s the altar.",
an(hcolor(obj->blessed ? NH_AMBER : NH_BLACK)),
doname(obj), otense(obj, "hit"));
} else {
pline("%s %s on the altar.", Doname2(obj),
otense(obj, "land"));
- obj->bknown = 1;
+ if (obj->oclass != COIN_CLASS) obj->bknown = 1;
}
}