Fix: Use SMOnline Login properly
This commit is contained in:
@@ -664,7 +664,7 @@ DefaultSort=Endless
|
|||||||
[ScreenSMOnlineLogin]
|
[ScreenSMOnlineLogin]
|
||||||
Class=ScreenSMOnlineLogin
|
Class=ScreenSMOnlineLogin
|
||||||
Fallback=ScreenOptionsServiceChild
|
Fallback=ScreenOptionsServiceChild
|
||||||
NextScreen=ScreenNetRoom
|
NextScreen=@SMOnlineScreen()
|
||||||
PrevScreen=@ScreenTitleBranch()
|
PrevScreen=@ScreenTitleBranch()
|
||||||
HelpText=
|
HelpText=
|
||||||
StyleIcon=0
|
StyleIcon=0
|
||||||
|
|||||||
@@ -113,7 +113,9 @@ void ScreenSMOnlineLogin::HandleScreenMessage(const ScreenMessage SM)
|
|||||||
if( GAMESTATE->IsPlayerEnabled((PlayerNumber) m_iPlayer) && m_iPlayer < NUM_PLAYERS )
|
if( GAMESTATE->IsPlayerEnabled((PlayerNumber) m_iPlayer) && m_iPlayer < NUM_PLAYERS )
|
||||||
ScreenTextEntry::Password(SM_PasswordDone, "You are logging on as:\n" + GAMESTATE->GetPlayerDisplayName((PlayerNumber) m_iPlayer) + "\n\nPlease enter your password.", NULL );
|
ScreenTextEntry::Password(SM_PasswordDone, "You are logging on as:\n" + GAMESTATE->GetPlayerDisplayName((PlayerNumber) m_iPlayer) + "\n\nPlease enter your password.", NULL );
|
||||||
else
|
else
|
||||||
SCREENMAN->PostMessageToTopScreen( SM_GoToNextScreen, 0 );
|
{
|
||||||
|
SCREENMAN->SetNewScreen( THEME->GetMetric (m_sName,"NextScreen") );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -150,11 +152,6 @@ void ScreenSMOnlineLogin::HandleScreenMessage(const ScreenMessage SM)
|
|||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else if( SM == SM_GoToPrevScreen )
|
|
||||||
{
|
|
||||||
SCREENMAN->PostMessageToTopScreen( SM_GoToPrevScreen, 0 );
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
ScreenOptions::HandleScreenMessage(SM);
|
ScreenOptions::HandleScreenMessage(SM);
|
||||||
}
|
}
|
||||||
@@ -201,7 +198,7 @@ void ScreenSMOnlineLogin::SendLogin(CString sPassword)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* (c) 2004 Charles Lohr Adam Lowman
|
* (c) 2004-2005 Charles Lohr Adam Lowman
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
|||||||
Reference in New Issue
Block a user