Use TAINT_AGE for old corpses instead of hardcoded value

This commit is contained in:
Pasi Kallinen
2020-03-16 11:27:33 +02:00
parent f6a282ec99
commit 408321b4f7
5 changed files with 9 additions and 8 deletions

View File

@@ -928,7 +928,7 @@ coord *cc;
case 1:
You("unearth a corpse.");
if ((otmp = mk_tt_object(CORPSE, dig_x, dig_y)) != 0)
otmp->age -= 100; /* this is an *OLD* corpse */
otmp->age -= (TAINT_AGE + 1); /* this is an *OLD* corpse */
break;
case 2:
if (!Blind)