mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- Clean out where Net_ClearFifo()
is called.
* We can do this from one place and achieve the same result as having it sprinkled everywhere did.
This commit is contained in:
parent
96055fbc03
commit
d665037075
5 changed files with 1 additions and 6 deletions
|
@ -155,7 +155,6 @@ void NewGame(MapRecord* map, int skill, bool ns = false)
|
|||
gi->NewGame(map, skill, ns);
|
||||
gameaction = ga_level;
|
||||
ResetStatusBar();
|
||||
Net_ClearFifo();
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -206,7 +205,6 @@ static void GameTicker()
|
|||
gameaction = ga_level;
|
||||
gi->NextLevel(g_nextmap, g_nextskill);
|
||||
ResetStatusBar();
|
||||
Net_ClearFifo();
|
||||
break;
|
||||
|
||||
case ga_newgame:
|
||||
|
@ -267,6 +265,7 @@ static void GameTicker()
|
|||
break;
|
||||
|
||||
case ga_level:
|
||||
Net_ClearFifo();
|
||||
gamestate = GS_LEVEL;
|
||||
break;
|
||||
|
||||
|
|
|
@ -360,7 +360,6 @@ void StartLevel(MapRecord* level, bool newgame)
|
|||
if (!gPlayer[myconnectindex].packSlots[1].isActive) // if diving suit is not active, turn off reverb sound effect
|
||||
sfxSetReverb(0);
|
||||
ambInit();
|
||||
Net_ClearFifo();
|
||||
gChokeCounter = 0;
|
||||
M_ClearMenus();
|
||||
// viewSetMessage("");
|
||||
|
|
|
@ -766,7 +766,6 @@ void GameInterface::SerializeGameState(FSerializer& arc)
|
|||
for (int i = 0; i < gNetPlayers; i++)
|
||||
playerSetRace(&gPlayer[i], gPlayer[i].lifeMode);
|
||||
viewSetErrorMessage("");
|
||||
Net_ClearFifo();
|
||||
paused = 0;
|
||||
Mus_ResumeSaved();
|
||||
}
|
||||
|
|
|
@ -113,7 +113,6 @@ bool GameInterface::StartGame(FNewGameStartup& gs)
|
|||
soundEngine->UpdateSounds(I_GetTime());
|
||||
I_GetEvent();
|
||||
}
|
||||
Net_ClearFifo();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -122,7 +122,6 @@ bool GameInterface::StartGame(FNewGameStartup& gs)
|
|||
soundEngine->UpdateSounds(I_GetTime());
|
||||
I_GetEvent();
|
||||
}
|
||||
Net_ClearFifo();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue