mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-18 14:41:55 +00:00
- determine smoothRatio
immediately after a potential change to ototalclock
has occurred.
This commit is contained in:
parent
52d9fd4cda
commit
0aca26e197
1 changed files with 1 additions and 4 deletions
|
@ -310,7 +310,6 @@ bool GameTicker()
|
|||
|
||||
C_RunDelayedCommands();
|
||||
|
||||
char gameUpdate = false;
|
||||
gameupdatetime.Reset();
|
||||
gameupdatetime.Clock();
|
||||
|
||||
|
@ -343,8 +342,8 @@ bool GameTicker()
|
|||
{
|
||||
ototalclock = totalclock - 1;
|
||||
}
|
||||
int const smoothRatio = calc_smoothratio(totalclock, ototalclock);
|
||||
|
||||
gameUpdate = true;
|
||||
gameupdatetime.Unclock();
|
||||
|
||||
if (ps[myconnectindex].gm & (MODE_EOL | MODE_RESTART))
|
||||
|
@ -357,8 +356,6 @@ bool GameTicker()
|
|||
GetInput();
|
||||
}
|
||||
|
||||
int const smoothRatio = calc_smoothratio(totalclock, ototalclock);
|
||||
|
||||
drawtime.Reset();
|
||||
drawtime.Clock();
|
||||
displayrooms(screenpeek, smoothRatio);
|
||||
|
|
Loading…
Reference in a new issue