- added missing return in P_RemoveThing.

This commit is contained in:
Christoph Oelckers 2018-12-30 08:40:04 +01:00 committed by drfrag
parent d54ef75311
commit 6371d3f88b

View file

@ -431,7 +431,7 @@ void P_RemoveThing(AActor * actor)
if (actor->player == NULL || actor != actor->player->mo)
{
// Don't also remove owned inventory items
if (!actor->IsMapActor())
if (!actor->IsMapActor()) return;
// be friendly to the level statistics. ;)
actor->ClearCounters();