Gotta love merging.

This commit is contained in:
Jason Felds
2011-02-25 01:57:47 -05:00
2 changed files with 14 additions and 1 deletions
+4
View File
@@ -118,6 +118,10 @@ local function func()
t.BaseRotationZ=Noteskin.BaseRotZ[sButton]
end
if sElement == "Tap Lift" then
t.InitCommand=cmd(pulse);
end
return t
end
+10 -1
View File
@@ -116,7 +116,16 @@ void ScreenSMOnlineLogin::HandleScreenMessage(const ScreenMessage SM)
else if( SM == SM_SMOnlinePack )
{
LOG->Trace("[ScreenSMOnlineLogin::HandleScreenMessage] SMOnlinePack");
sLoginQuestion = YOU_ARE_LOGGING_ON_AS.GetValue() + "\n" + GAMESTATE->GetPlayerDisplayName((PlayerNumber) m_iPlayer) + "\n" + ENTER_YOUR_PASSWORD.GetValue();
if(!GAMESTATE->IsPlayerEnabled((PlayerNumber) m_iPlayer))
{
LOG->Warn("Invalid player number: %i", m_iPlayer);
return;
}
// This can cause problems in certain situations -aj
sLoginQuestion = YOU_ARE_LOGGING_ON_AS.GetValue() + "\n"
+ GAMESTATE->GetPlayerDisplayName((PlayerNumber) m_iPlayer) + "\n" +
ENTER_YOUR_PASSWORD.GetValue();
int ResponseCode = NSMAN->m_SMOnlinePacket.Read1();
if (ResponseCode == 0)
{