mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- added missing return in P_RemoveThing.
This commit is contained in:
parent
5ca6f9af9a
commit
53be21eb58
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