mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
Resolution for ap-hang with high-frequency weaponstate changes (IE: AI non-tick descision forks). see also: http://www.garagegames.com/community/forums/viewthread/134036
This commit is contained in:
parent
a8543a3998
commit
2c6a98cb89
1 changed files with 3 additions and 0 deletions
|
|
@ -3092,7 +3092,10 @@ TICKAGAIN:
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( image.rDT > 0.0f && image.delayTime > 0.0f && imageData.useRemainderDT && dt != 0.0f )
|
if ( image.rDT > 0.0f && image.delayTime > 0.0f && imageData.useRemainderDT && dt != 0.0f )
|
||||||
|
{
|
||||||
|
dt = image.rDT;
|
||||||
goto TICKAGAIN;
|
goto TICKAGAIN;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue