From 0d0c22b5e5ba0de7af879137e8989cabef368209 Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Sun, 18 Nov 2018 16:06:31 -0500 Subject: [PATCH] Update corpse decay cap to 24 hours I guess Some people were wanting higher, w/e --- zone/zone.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/zone.cpp b/zone/zone.cpp index 370e18723..8fdd26fbf 100644 --- a/zone/zone.cpp +++ b/zone/zone.cpp @@ -1874,7 +1874,7 @@ bool ZoneDatabase::GetDecayTimes(npcDecayTimes_Struct *npcCorpseDecayTimes) npcCorpseDecayTimes[index].minlvl = atoi(sep.arg[1]); npcCorpseDecayTimes[index].maxlvl = atoi(sep.arg[2]); - npcCorpseDecayTimes[index].seconds = std::min(7200, atoi(row[1])); + npcCorpseDecayTimes[index].seconds = std::min(24 * 60 * 60, atoi(row[1])); } return true;