mirror of
https://github.com/glest/glest-source.git
synced 2025-08-25 01:05:50 +02:00
- more ftp bugfixes
This commit is contained in:
@@ -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";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user