mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 15:02:39 +00:00
- Fixed: noextratic fix skipped over infinite duration states.
SVN r4232 (trunk)
This commit is contained in:
parent
4bc60ec900
commit
81487f4a69
1 changed files with 2 additions and 2 deletions
|
@ -3504,7 +3504,7 @@ void AActor::Tick ()
|
|||
int newtics;
|
||||
do
|
||||
{
|
||||
newtics = --tics;
|
||||
newtics = tics--;
|
||||
|
||||
// [RH] Use tics <= 0 instead of == 0 so that spawnstates
|
||||
// of 0 tics work as expected.
|
||||
|
@ -3520,7 +3520,7 @@ void AActor::Tick ()
|
|||
return; // freed itself
|
||||
}
|
||||
}
|
||||
while (newtics < 0);
|
||||
while (newtics == 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue