mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Fix sussy stepping below 35fps
This commit is contained in:
parent
14985f6852
commit
8863004dc2
1 changed files with 2 additions and 7 deletions
|
|
@ -2732,7 +2732,7 @@ void CL_RemovePlayer(INT32 playernum, kickreason_t reason)
|
||||||
|
|
||||||
K_CheckBumpers();
|
K_CheckBumpers();
|
||||||
P_CheckRacers();
|
P_CheckRacers();
|
||||||
|
|
||||||
// Reset map headers' justPlayed and anger records
|
// Reset map headers' justPlayed and anger records
|
||||||
// when there are no players in a dedicated server.
|
// when there are no players in a dedicated server.
|
||||||
// Otherwise maps get angry at newly-joined players
|
// Otherwise maps get angry at newly-joined players
|
||||||
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue