mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-16 09:31:14 +00:00
- added missing return in P_RemoveThing.
This commit is contained in:
parent
d54ef75311
commit
6371d3f88b
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue