- more ftp tileset bugfixes

This commit is contained in:
Mark Vejvoda
2011-01-01 01:54:12 +00:00
parent 093077810f
commit 79d2329559

View File

@@ -245,7 +245,7 @@ FTP_Client_ResultType FTPClientThread::getTilesetFromServer(string tileSetName,
FTP_Client_ResultType result = ftp_crt_FAIL;
string destFile = this->mapsPath.second;
string destFile = this->tilesetsPath.second;
if(EndsWith(destFile,"/") == false && EndsWith(destFile,"\\") == false) {
destFile += "/";
@@ -370,6 +370,10 @@ void FTPClientThread::execute() {
safeMutex.ReleaseLock();
}
if(this->getQuitStatus() == true) {
break;
}
MutexSafeWrapper safeMutex2(&mutexTilesetList);
if(tilesetList.size() > 0) {
string tileset = tilesetList[0];