From ee773ef96bbbc829e72d332054bd5145e5adb92f Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Thu, 10 Mar 2011 22:00:59 +0000 Subject: [PATCH] - bugfix in connected client menu (init variables for proper techtree file xfer) --- source/glest_game/global/config.cpp | 2 +- source/glest_game/menu/menu_state_connected_game.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/source/glest_game/global/config.cpp b/source/glest_game/global/config.cpp index 7b81768d..59153615 100644 --- a/source/glest_game/global/config.cpp +++ b/source/glest_game/global/config.cpp @@ -714,7 +714,7 @@ vector Config::getPathListForType(PathType type, string scenarioDir) { // if(SystemFlags::VERBOSE_MODE_ENABLED) printf("extractLastDirectoryFromPath(userData) [%s] from userData [%s]\n",extractLastDirectoryFromPath(userData).c_str(),userData.c_str()); // userData = data_path + extractLastDirectoryFromPath(userData); //} - if(SystemFlags::VERBOSE_MODE_ENABLED) printf("In [%s::%s Line: %d] userData path [%s]\n",__FILE__,__FUNCTION__,__LINE__,userData.c_str()); + //if(SystemFlags::VERBOSE_MODE_ENABLED) printf("In [%s::%s Line: %d] userData path [%s]\n",__FILE__,__FUNCTION__,__LINE__,userData.c_str()); if(isdir(userData.c_str()) == false) { createDirectoryPaths(userData); diff --git a/source/glest_game/menu/menu_state_connected_game.cpp b/source/glest_game/menu/menu_state_connected_game.cpp index 3b2a9075..3b22cf8d 100644 --- a/source/glest_game/menu/menu_state_connected_game.cpp +++ b/source/glest_game/menu/menu_state_connected_game.cpp @@ -62,6 +62,8 @@ MenuStateConnectedGame::MenuStateConnectedGame(Program *program, MainMenu *mainM getMissingMapFromFTPServerInProgress = false; getMissingTilesetFromFTPServer = ""; getMissingTilesetFromFTPServerInProgress = false; + getMissingTechtreeFromFTPServer = ""; + getMissingTechtreeFromFTPServerInProgress = false; currentFactionLogo = ""; factionTexture=NULL;