- forgot to default ftp code to a default value (off) until ready

This commit is contained in:
Mark Vejvoda 2010-12-29 06:03:07 +00:00
parent e79147796f
commit 9afcbe97b8
2 changed files with 2 additions and 2 deletions

View File

@ -370,7 +370,7 @@ MenuStateConnectedGame::MenuStateConnectedGame(Program *program, MainMenu *mainM
findDirs(config.getPathListForType(ptTilesets), tileSets);
if(config.getBool("EnableFTPXfer") == true) {
if(config.getBool("EnableFTPXfer","false") == true) {
ClientInterface *clientInterface = networkManager.getClientInterface();
string serverUrl = clientInterface->getServerIpAddress() + ":61358";

View File

@ -86,7 +86,7 @@ ServerInterface::ServerInterface() {
//serverSocket.bind(Config::getInstance().getInt("ServerPort",intToStr(GameConstants::serverPort).c_str()));
serverSocket.setBindPort(Config::getInstance().getInt("ServerPort",intToStr(GameConstants::serverPort).c_str()));
if(Config::getInstance().getBool("EnableFTPXfer") == true) {
if(Config::getInstance().getBool("EnableFTPXfer","false") == true) {
std::pair<string,string> mapsPath;
vector<string> pathList = Config::getInstance().getPathListForType(ptMaps);
if(pathList.size() > 0) {