Fix sussy stepping below 35fps

This commit is contained in:
Eidolon 2026-03-15 17:58:50 -05:00
parent 14985f6852
commit 8863004dc2

View file

@ -6884,8 +6884,6 @@ boolean TryRunTics(tic_t realtics)
if (ticking) if (ticking)
{ {
boolean tickInterp = true;
// run the count * tics // run the count * tics
while (neededtic > gametic) while (neededtic > gametic)
{ {
@ -6946,12 +6944,9 @@ boolean TryRunTics(tic_t realtics)
boolean run = (gametic % NEWTICRATERATIO) == 0; boolean run = (gametic % NEWTICRATERATIO) == 0;
if (run && tickInterp) if (run)
{ {
// Update old view state BEFORE ticking so resetting
// the old interpolation state from game logic works.
R_UpdateViewInterpolation(); R_UpdateViewInterpolation();
tickInterp = false; // do not update again in sped-up tics
} }
G_Ticker(run); G_Ticker(run);