fixed crash in para because SelectModeChoies weren't filled out.

This commit is contained in:
Chris Danford
2002-09-30 17:44:31 +00:00
parent 40720267b5
commit 721cdc7250
2 changed files with 33 additions and 0 deletions
+1
View File
@@ -205,6 +205,7 @@ void ScreenSelectMode::RefreshModeChoices()
int iNumSidesJoined = GAMESTATE->GetNumSidesJoined();
GAMEMAN->GetModesChoicesForGame( GAMESTATE->m_CurGame, m_aPossibleModeChoices );
ASSERT( m_aPossibleModeChoices.GetSize() > 0 );
CString sGameName = GAMESTATE->GetCurrentGameDef()->m_szName;