- more ftp bugfixes

This commit is contained in:
Mark Vejvoda 2010-12-29 07:02:14 +00:00
parent c8c77f75e3
commit 385dd8733a

View File

@ -72,7 +72,7 @@ void FTPClientThread::getMapFromServer(string mapFileName) {
FTP_Client_ResultType result = ftp_crt_FAIL; FTP_Client_ResultType result = ftp_crt_FAIL;
string destFile = this->mapsPath.second + mapFileName; string destFile = this->mapsPath.second + mapFileName;
if(EndsWith(destFile,".mgm") && EndsWith(destFile,".gbm")) { if(EndsWith(destFile,".mgm") == false && EndsWith(destFile,".gbm") == false) {
destFile += ".mgm"; destFile += ".mgm";
} }