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

View File

@@ -217,11 +217,7 @@ boolean ghostly, frozen;
* to new player's clock. Assumption: new player arrived
* immediately after old player died.
*/
if (ghostly && !frozen
&& otmp->otyp != OIL_LAMP
&& otmp->otyp != BRASS_LANTERN
&& otmp->otyp != CANDELABRUM_OF_INVOCATION
&& !Is_candle(otmp))
if (ghostly && !frozen && !age_is_relative(otmp))
otmp->age = monstermoves - omoves + otmp->age;
/* get contents of a container or statue */