- added missing return in P_RemoveThing.

This commit is contained in:
Christoph Oelckers 2018-12-30 08:40:04 +01:00
parent 5ca6f9af9a
commit 53be21eb58

View file

@ -423,7 +423,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();