Missing brackets for the IF statement in CClientLog.cpp
BYTE CClient::Login_ServerList(LPCTSTR pszAccount, LPCTSTR pszPassword) { ADDTOCALLSTACK("CClient::Login_ServerList"); // PACKET_ServersReq // Initial login (Login on "loginserver", new format)
CGString sMsg;
BYTE bResult = LogIn(pszAccount, pszPassword, sMsg);
if (bResult != PacketLoginError::Success)
{ // <--- missing a bracket here
return bResult;
} // <--- and missing a bracket here
m_Targ_Mode = CLIMODE_SETUP_SERVERS;
new PacketServerList(this);
return PacketLoginError::Success;
}
Missing brackets for the IF statement in CClientLog.cpp
BYTE CClient::Login_ServerList(LPCTSTR pszAccount, LPCTSTR pszPassword) { ADDTOCALLSTACK("CClient::Login_ServerList"); // PACKET_ServersReq // Initial login (Login on "loginserver", new format)}