- Fix netgame freeze situation

This commit is contained in:
Magnus Norddahl 2018-03-20 01:28:25 +01:00
parent cf67883e6a
commit 5f4e4d859e
1 changed files with 4 additions and 0 deletions

View File

@ -1914,6 +1914,10 @@ void TryRunTics (void)
// Check possible stall conditions // Check possible stall conditions
Net_CheckLastReceived (counts); Net_CheckLastReceived (counts);
// Update time returned by I_GetTime, but only if we are stuck in this loop
if (lowtic >= gametic + counts)
I_SetFrameTime();
// don't stay in here forever -- give the menu a chance to work // don't stay in here forever -- give the menu a chance to work
if (I_GetTime () - entertic >= 1) if (I_GetTime () - entertic >= 1)
{ {