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

@ -2732,7 +2732,7 @@ void CL_RemovePlayer(INT32 playernum, kickreason_t reason)
K_CheckBumpers();
P_CheckRacers();
// Reset map headers' justPlayed and anger records
// when there are no players in a dedicated server.
// Otherwise maps get angry at newly-joined players
@ -6884,8 +6884,6 @@ boolean TryRunTics(tic_t realtics)
if (ticking)
{
boolean tickInterp = true;
// run the count * tics
while (neededtic > gametic)
{
@ -6946,12 +6944,9 @@ boolean TryRunTics(tic_t realtics)
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();
tickInterp = false; // do not update again in sped-up tics
}
G_Ticker(run);