File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
TheForceEngine/TFE_Jedi/Task Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -530,7 +530,7 @@ namespace TFE_Jedi
530
530
531
531
JBool task_canRun ()
532
532
{
533
- bool timeLimiter = s_enableTimeLimiter && ! TFE_Settings::getGraphicsSettings ()-> useSmoothDeltaTime ;
533
+ bool timeLimiter = s_enableTimeLimiter;
534
534
if (s_taskCount && timeLimiter)
535
535
{
536
536
const f64 time = TFE_System::getTime ();
@@ -560,16 +560,11 @@ namespace TFE_Jedi
560
560
// Limit the update rate by the minimum interval.
561
561
// Dark Forces uses discrete 'ticks' to track time and the game behavior is very odd with 0 tick frames.
562
562
const f64 time = TFE_System::getTime ();
563
- const bool timeLimiter = s_enableTimeLimiter && !TFE_Settings::getGraphicsSettings ()-> useSmoothDeltaTime && ! TFE_Input::isReplaySystemLive ();
563
+ const bool timeLimiter = s_enableTimeLimiter && !TFE_Input::isReplaySystemLive ();
564
564
if (time - s_prevTime < s_minIntervalInSec && timeLimiter)
565
565
{
566
566
return JFALSE;
567
567
}
568
- // Timing still breaks down if the frames are too short - even with fractional ticks.
569
- if (time - s_prevTime < 0 .5f * s_minIntervalInSec)
570
- {
571
- return JFALSE;
572
- }
573
568
574
569
s_prevTime = time;
575
570
s_currentMsg = MSG_RUN_TASK;
You can’t perform that action at this time.
0 commit comments