Update corpse decay cap to 24 hours I guess

Some people were wanting higher, w/e
This commit is contained in:
Michael Cook (mackal) 2018-11-18 16:06:31 -05:00
parent aae316c171
commit 0d0c22b5e5

View File

@ -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;