B20007 age of potion of oil from bones

First From a bug report.4.1 beta 20.
This commit is contained in:
nethack.allison
2003-03-17 01:20:41 +00:00
parent 4cf1b2964d
commit 96b149208f
5 changed files with 21 additions and 21 deletions
+2 -4
View File
@@ -1772,8 +1772,7 @@ register struct obj *obj;
sellobj_state(SELL_NORMAL);
}
}
if (Icebox && obj->otyp != OIL_LAMP && obj->otyp != BRASS_LANTERN
&& !Is_candle(obj)) {
if (Icebox && !age_is_relative(obj)) {
obj->age = monstermoves - obj->age; /* actual age */
/* stop any corpse timeouts when frozen */
if (obj->otyp == CORPSE && obj->timed) {
@@ -1868,8 +1867,7 @@ register struct obj *obj;
obj_extract_self(obj);
current_container->owt = weight(current_container);
if (Icebox && obj->otyp != OIL_LAMP && obj->otyp != BRASS_LANTERN
&& !Is_candle(obj)) {
if (Icebox && !age_is_relative(obj)) {
obj->age = monstermoves - obj->age; /* actual age */
if (obj->otyp == CORPSE)
start_corpse_timeout(obj);