add missing corpses from 781. remove self implemented logic for corpse owner expire. Update every monster with new corpse for self owner expiring

This commit is contained in:
ErikasKontenis
2019-11-17 14:33:25 +02:00
parent 408706dc78
commit 7f7357a419
148 changed files with 769 additions and 153 deletions

View File

@@ -3772,11 +3772,6 @@ void Game::internalDecayItem(Item* item)
}
}
void Game::RemoveCorpseOwner(Item* item)
{
item->removeAttribute(ITEM_ATTRIBUTE_CORPSEOWNER);
}
void Game::checkDecay()
{
g_scheduler.addEvent(createSchedulerTask(EVENT_DECAYINTERVAL, std::bind(&Game::checkDecay, this)));