first steps on #140 - needs testing. switch to hardcoded testing server for 1.0 beta
This commit is contained in:
+6
-5
@@ -90,7 +90,8 @@ void Session::startLocalGame(const GameData &gameData, const StartData &startDat
|
||||
myGameType = GAME_TYPE_LOCAL;
|
||||
|
||||
currentGame.reset();
|
||||
currentGameNum++;
|
||||
|
||||
currentGameNum++;
|
||||
|
||||
myGui->initGui(gameData.guiSpeed);
|
||||
|
||||
@@ -175,11 +176,11 @@ void Session::startInternetClient()
|
||||
|
||||
myNetClient->Init(
|
||||
myConfig->readConfigString("InternetServerAddress"),
|
||||
myConfig->readConfigString("InternetServerListAddress"),
|
||||
// "pokerth.net/serverlist_testing.xml.z",
|
||||
// myConfig->readConfigString("InternetServerListAddress"),
|
||||
"pokerth.net/serverlist_testing.xml.z",
|
||||
myConfig->readConfigString("ServerPassword"),
|
||||
myConfig->readConfigInt("InternetServerConfigMode") == 0,
|
||||
// true,
|
||||
// myConfig->readConfigInt("InternetServerConfigMode") == 0,
|
||||
true,
|
||||
myConfig->readConfigInt("InternetServerPort"),
|
||||
myConfig->readConfigInt("InternetServerUseIpv6") == 1,
|
||||
myConfig->readConfigInt("InternetServerUseSctp") == 1,
|
||||
|
||||
Reference in New Issue
Block a user