- Fixed: noextratic fix skipped over infinite duration states.

SVN r4232 (trunk)
This commit is contained in:
Braden Obrzut 2013-04-28 18:00:41 +00:00
parent 4bc60ec900
commit 81487f4a69

View file

@ -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
{ {