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

@@ -1543,7 +1543,7 @@ coord *tm;
otmp = mkcorpstat(CORPSE, NULL, &mons[victim_mnum], m.x, m.y,
CORPSTAT_INIT);
if (otmp)
otmp->age -= 51; /* died too long ago to eat */
otmp->age -= (TAINT_AGE + 1); /* died too long ago to eat */
}
}