mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
Remove last remaining case fallthrough in the codebase
This commit is contained in:
parent
d9cf5059a7
commit
c21cc0ad00
|
@ -610,9 +610,9 @@ void IGameController::SetGameState(EGameState GameState, int Timer)
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case IGS_END_ROUND:
|
case IGS_END_ROUND:
|
||||||
if(DoWincheckMatch())
|
|
||||||
break;
|
|
||||||
case IGS_END_MATCH:
|
case IGS_END_MATCH:
|
||||||
|
if(GameState == IGS_END_ROUND && DoWincheckMatch())
|
||||||
|
break;
|
||||||
// only possible when game is running or over
|
// only possible when game is running or over
|
||||||
if(m_GameState == IGS_GAME_RUNNING || m_GameState == IGS_END_MATCH || m_GameState == IGS_END_ROUND || m_GameState == IGS_GAME_PAUSED)
|
if(m_GameState == IGS_GAME_RUNNING || m_GameState == IGS_END_MATCH || m_GameState == IGS_END_ROUND || m_GameState == IGS_GAME_PAUSED)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue