Network game, dedicated server without auth backend and dedicated server with auth backend should work now. Guest login still broken.

This commit is contained in:
lotodore
2009-11-14 15:04:31 +00:00
parent f258786b62
commit d727a7fd5d
7 changed files with 89 additions and 13 deletions
+8
View File
@@ -423,6 +423,14 @@ void Session::selectServer(unsigned serverId)
myNetClient->SelectServer(serverId);
}
void
Session::setLogin(const std::string &userName, const std::string &password, bool isGuest)
{
if (!myNetClient)
return; // only act if client is running.
myNetClient->SetLogin(userName, password, isGuest);
}
void Session::voteKick(bool doKick)
{
if (!myNetClient)