mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-03-13 22:42:07 +00:00
- added missing return in P_RemoveThing.
This commit is contained in:
parent
7b8e63db20
commit
8c8966545d
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue