mirror of
https://github.com/glest/glest-source.git
synced 2025-08-16 13:23:59 +02:00
- more ftp tileset bugfixes
This commit is contained in:
@@ -245,7 +245,7 @@ FTP_Client_ResultType FTPClientThread::getTilesetFromServer(string tileSetName,
|
|||||||
|
|
||||||
FTP_Client_ResultType result = ftp_crt_FAIL;
|
FTP_Client_ResultType result = ftp_crt_FAIL;
|
||||||
|
|
||||||
string destFile = this->mapsPath.second;
|
string destFile = this->tilesetsPath.second;
|
||||||
|
|
||||||
if(EndsWith(destFile,"/") == false && EndsWith(destFile,"\\") == false) {
|
if(EndsWith(destFile,"/") == false && EndsWith(destFile,"\\") == false) {
|
||||||
destFile += "/";
|
destFile += "/";
|
||||||
@@ -370,6 +370,10 @@ void FTPClientThread::execute() {
|
|||||||
safeMutex.ReleaseLock();
|
safeMutex.ReleaseLock();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(this->getQuitStatus() == true) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
MutexSafeWrapper safeMutex2(&mutexTilesetList);
|
MutexSafeWrapper safeMutex2(&mutexTilesetList);
|
||||||
if(tilesetList.size() > 0) {
|
if(tilesetList.size() > 0) {
|
||||||
string tileset = tilesetList[0];
|
string tileset = tilesetList[0];
|
||||||
|
Reference in New Issue
Block a user