mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-14 08:31:23 +00:00
- fixed last commit.
This commit is contained in:
parent
978667143c
commit
c1a0ee9623
1 changed files with 1 additions and 1 deletions
|
@ -403,7 +403,7 @@ void P_RemoveThing(AActor * actor)
|
||||||
if (actor->player == NULL || actor != actor->player->mo)
|
if (actor->player == NULL || actor != actor->player->mo)
|
||||||
{
|
{
|
||||||
// Don't also remove owned inventory items
|
// Don't also remove owned inventory items
|
||||||
if (actor->IsKindOf(RUNTIME_CLASS(AInventory)) && static_cast<AInventory*>(actor)->Owner == NULL) return;
|
if (actor->IsKindOf(RUNTIME_CLASS(AInventory)) && static_cast<AInventory*>(actor)->Owner != NULL) return;
|
||||||
|
|
||||||
// be friendly to the level statistics. ;)
|
// be friendly to the level statistics. ;)
|
||||||
actor->ClearCounters();
|
actor->ClearCounters();
|
||||||
|
|
Loading…
Reference in a new issue