Remove last remaining case fallthrough in the codebase

This commit is contained in:
heinrich5991 2019-02-03 00:55:10 +01:00
parent d9cf5059a7
commit c21cc0ad00

View file

@ -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)
{ {