Fix SMOnline in StepMania
This commit is contained in:
@@ -569,7 +569,7 @@ void ScreenGameplay::Init()
|
||||
{
|
||||
m_bShowScoreboard = PREFSMAN->m_bEnableScoreboard.Get();
|
||||
PlayerNumber pn = GAMESTATE->GetFirstDisabledPlayer();
|
||||
if( pn != PLAYER_INVALID )
|
||||
if( ( pn != PLAYER_INVALID ) && ( m_bShowScoreboard ) )
|
||||
{
|
||||
FOREACH_NSScoreBoardColumn( col )
|
||||
{
|
||||
|
||||
@@ -28,6 +28,7 @@ static LocalizedString DEFINE_A_PROFILE( "ScreenSMOnlineLogin", "You must define
|
||||
void ScreenSMOnlineLogin::Init()
|
||||
{
|
||||
ScreenOptions::Init();
|
||||
m_iPlayer = 0;
|
||||
|
||||
g_ProfileLine[0].m_vsChoices.clear();
|
||||
PROFILEMAN->GetLocalProfileDisplayNames( g_ProfileLine[0].m_vsChoices );
|
||||
@@ -95,7 +96,9 @@ static LocalizedString ENTER_YOUR_PASSWORD ( "ScreenSMOnlineLogin", "Enter your
|
||||
|
||||
void ScreenSMOnlineLogin::HandleScreenMessage(const ScreenMessage SM)
|
||||
{
|
||||
CString sLoginQuestion = YOU_ARE_LOGGING_ON_AS.GetValue()+"\n" + GAMESTATE->GetPlayerDisplayName((PlayerNumber) m_iPlayer) + "\n\n"+ENTER_YOUR_PASSWORD.GetValue();
|
||||
CString sLoginQuestion;
|
||||
if ( GAMESTATE->IsPlayerEnabled((PlayerNumber) m_iPlayer) )
|
||||
sLoginQuestion = YOU_ARE_LOGGING_ON_AS.GetValue()+"\n" + GAMESTATE->GetPlayerDisplayName((PlayerNumber) m_iPlayer) + "\n\n"+ENTER_YOUR_PASSWORD.GetValue();
|
||||
|
||||
if( SM == SM_PasswordDone )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user