- 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:
Mitchell Richters 2023-03-29 09:04:38 +11:00
parent 96055fbc03
commit d665037075
5 changed files with 1 additions and 6 deletions

View file

@ -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;