fix "memory card not mounted if initially plugged in while cards are locked"

do the final memory card mount on PlayersFinalized
This commit is contained in:
Chris Danford
2004-08-14 19:18:56 +00:00
parent 1fe0f5b783
commit ee9fbb99e1
3 changed files with 22 additions and 27 deletions
+3 -1
View File
@@ -40,6 +40,7 @@ GameState* GAMESTATE = NULL; // global and accessable from anywhere in our progr
GameState::GameState()
{
m_pPosition = NULL;
m_pCurStyle = NULL;
m_pCurGame = NULL;
m_iCoins = 0;
@@ -243,7 +244,6 @@ void GameState::PlayersFinalized()
m_bPlayersFinalized = true;
MEMCARDMAN->LockCards( true );
SONGMAN->LoadAllFromProfiles();
// apply saved default modifiers if any
@@ -274,6 +274,8 @@ void GameState::PlayersFinalized()
m_pPreferredCourse = pProfile->m_lastCourse.ToCourse();
}
SONGMAN->LoadAllFromProfiles();
FOREACH_PlayerNumber( pn )
{
if( !IsHumanPlayer(pn) )