mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
- flush the network timer righr after loading and before starting a level.
Without this the entire load time may get registered as skipped frames-
This commit is contained in:
parent
0da2250efe
commit
5d0c9a9fc8
1 changed files with 3 additions and 0 deletions
|
@ -150,6 +150,7 @@ void NewGame(MapRecord* map, int skill, bool ns = false)
|
|||
ShowIntermission(nullptr, map, nullptr, [=](bool) {
|
||||
gi->NewGame(map, skill, ns);
|
||||
ResetStatusBar();
|
||||
Net_ClearFifo();
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -200,6 +201,7 @@ static void GameTicker()
|
|||
gameaction = ga_level;
|
||||
gi->NextLevel(g_nextmap, g_nextskill);
|
||||
ResetStatusBar();
|
||||
Net_ClearFifo();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -213,6 +215,7 @@ static void GameTicker()
|
|||
gameaction = ga_level;
|
||||
gi->NextLevel(g_nextmap, g_nextskill);
|
||||
ResetStatusBar();
|
||||
Net_ClearFifo();
|
||||
break;
|
||||
|
||||
case ga_newgame:
|
||||
|
|
Loading…
Reference in a new issue