mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-26 21:20:57 +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;
|
int newtics;
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
newtics = --tics;
|
newtics = tics--;
|
||||||
|
|
||||||
// [RH] Use tics <= 0 instead of == 0 so that spawnstates
|
// [RH] Use tics <= 0 instead of == 0 so that spawnstates
|
||||||
// of 0 tics work as expected.
|
// of 0 tics work as expected.
|
||||||
|
@ -3520,7 +3520,7 @@ void AActor::Tick ()
|
||||||
return; // freed itself
|
return; // freed itself
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
while (newtics < 0);
|
while (newtics == 0);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue