ugly hack to fix "mem card name not updated if card left in between games"

This commit is contained in:
Chris Danford
2004-04-23 06:35:24 +00:00
parent e4353d5cb8
commit 6928e8e864
4 changed files with 30 additions and 6 deletions
+5 -5
View File
@@ -192,19 +192,19 @@ bool Screen::JoinInput( const DeviceInput& DeviceI, const InputEventType type, c
else
GAMESTATE->m_iCoins -= iCoinsToCharge;
SCREENMAN->PlayStartSound();
GAMESTATE->m_bSideIsJoined[MenuI.player] = true;
if( GAMESTATE->m_MasterPlayerNumber == PLAYER_INVALID )
GAMESTATE->m_MasterPlayerNumber = MenuI.player;
PROFILEMAN->LoadFirstAvailableProfile( MenuI.player, true ); // fast load
SCREENMAN->RefreshCreditsMessages();
SCREENMAN->PlayStartSound();
// if first player to join, set start time
if( GAMESTATE->GetNumSidesJoined() == 1 )
GAMESTATE->BeginGame();
PROFILEMAN->LoadFirstAvailableProfile( MenuI.player, true ); // fast load
SCREENMAN->RefreshCreditsMessages();
return true;
}