- took the last methods aside from Tick and Serialize out of AInventory.

This commit is contained in:
Christoph Oelckers 2018-12-02 14:56:10 +01:00
commit 2cb0b2db87
6 changed files with 33 additions and 55 deletions

View file

@ -1328,7 +1328,7 @@ void G_PlayerFinishLevel (int player, EFinishLevelType mode, int flags)
{
if (!(it->ObjectFlags & OF_EuthanizeMe))
{
it->DepleteOrDestroy();
DepleteOrDestroy(item);
}
}
}