- bugfix in connected client menu (init variables for proper techtree file xfer)
This commit is contained in:
parent
fe2854e3e0
commit
ee773ef96b
|
@ -714,7 +714,7 @@ vector<string> 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);
|
||||
|
|
|
@ -62,6 +62,8 @@ MenuStateConnectedGame::MenuStateConnectedGame(Program *program, MainMenu *mainM
|
|||
getMissingMapFromFTPServerInProgress = false;
|
||||
getMissingTilesetFromFTPServer = "";
|
||||
getMissingTilesetFromFTPServerInProgress = false;
|
||||
getMissingTechtreeFromFTPServer = "";
|
||||
getMissingTechtreeFromFTPServerInProgress = false;
|
||||
|
||||
currentFactionLogo = "";
|
||||
factionTexture=NULL;
|
||||
|
|
Loading…
Reference in New Issue