mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
- levelclock increment after tick.
This ensures that the first tick always gets a value of 0.
This commit is contained in:
parent
bf4f538c61
commit
9a208185d6
1 changed files with 2 additions and 1 deletions
|
@ -62,7 +62,6 @@ void GameInterface::Ticker()
|
|||
|
||||
if (playrunning())
|
||||
{
|
||||
ud.levelclock+= 4;
|
||||
if (earthquaketime > 0) earthquaketime--;
|
||||
|
||||
ud.camerasprite = -1;
|
||||
|
@ -100,6 +99,8 @@ void GameInterface::Ticker()
|
|||
dotorch();
|
||||
|
||||
r_NoInterpolate = false;
|
||||
ud.levelclock+= 4; // This must be at the end of this block so that the first tic receives a value of 0!
|
||||
|
||||
}
|
||||
else r_NoInterpolate = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue