- fixed STAT_ACTORS must handle actors where scale.X is 0 as 'deleted' and destroy them.

This commit is contained in:
Christoph Oelckers 2023-03-18 12:08:53 +01:00
parent 1147030bca
commit 792f977d46
2 changed files with 2 additions and 2 deletions

View file

@ -1550,7 +1550,7 @@ void think_d(void)
actortime.Reset();
actortime.Clock();
tickstat(STAT_ACTOR); //ST 1
tickstat(STAT_ACTOR, true); //ST 1
actortime.Unclock();
moveeffectors_d(); //ST 3

View file

@ -1029,7 +1029,7 @@ void moveactors_r(void)
if (ud.chickenplant) tickstat(STAT_CHICKENPLANT);
tickstat(STAT_BOWLING);
tickstat(STAT_TELEPORT);
tickstat(STAT_ACTOR);
tickstat(STAT_ACTOR, true);
}
//---------------------------------------------------------------------------