- allow connected client to see extraction process
This commit is contained in:
parent
052fd3373c
commit
fc07549761
|
@ -507,7 +507,8 @@ bool Lang::fileMatchesISO630Code(string uselanguage, string testLanguageFile) {
|
||||||
result = true;
|
result = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch(const exception &ex) {
|
//catch(const exception &ex) {
|
||||||
|
catch(...) {
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
@ -551,7 +552,8 @@ string Lang::getNativeLanguageName(string uselanguage, string testLanguageFile)
|
||||||
try {
|
try {
|
||||||
result = stringsTest.getString("NativeLanguageName");
|
result = stringsTest.getString("NativeLanguageName");
|
||||||
}
|
}
|
||||||
catch(const exception &ex) {
|
//catch(const exception &ex) {
|
||||||
|
catch(...) {
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
|
|
@ -243,8 +243,7 @@ Intro::Intro(Program *program):
|
||||||
int index = rand() % models.size();
|
int index = rand() % models.size();
|
||||||
if(usedIndex.find(index) != usedIndex.end()) {
|
if(usedIndex.find(index) != usedIndex.end()) {
|
||||||
failedLookups++;
|
failedLookups++;
|
||||||
seed = (time(NULL) / failedLookups);
|
srand(seed.getCurTicks() / failedLookups);
|
||||||
srand(seed.getCurTicks());
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
//printf("picIndex = %d list count = %d\n",picIndex,coreData.getMiscTextureList().size());
|
//printf("picIndex = %d list count = %d\n",picIndex,coreData.getMiscTextureList().size());
|
||||||
|
|
|
@ -3223,7 +3223,8 @@ void MenuStateConnectedGame::FTPClient_CallbackEvent(string itemName,
|
||||||
else {
|
else {
|
||||||
char *szBuf = (char *)userdata;
|
char *szBuf = (char *)userdata;
|
||||||
//printf("%s\n",szBuf);
|
//printf("%s\n",szBuf);
|
||||||
console.addLine(szBuf);
|
//console.addLine(szBuf);
|
||||||
|
console.addLine(szBuf, false,"");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(type == ftp_cct_Map) {
|
else if(type == ftp_cct_Map) {
|
||||||
|
|
Loading…
Reference in New Issue