- allow connected client to see extraction process

This commit is contained in:
Mark Vejvoda 2012-10-15 08:09:28 +00:00
parent 052fd3373c
commit fc07549761
3 changed files with 7 additions and 5 deletions

View File

@ -507,7 +507,8 @@ bool Lang::fileMatchesISO630Code(string uselanguage, string testLanguageFile) {
result = true;
}
}
catch(const exception &ex) {
//catch(const exception &ex) {
catch(...) {
}
return result;
@ -551,7 +552,8 @@ string Lang::getNativeLanguageName(string uselanguage, string testLanguageFile)
try {
result = stringsTest.getString("NativeLanguageName");
}
catch(const exception &ex) {
//catch(const exception &ex) {
catch(...) {
}
return result;

View File

@ -243,8 +243,7 @@ Intro::Intro(Program *program):
int index = rand() % models.size();
if(usedIndex.find(index) != usedIndex.end()) {
failedLookups++;
seed = (time(NULL) / failedLookups);
srand(seed.getCurTicks());
srand(seed.getCurTicks() / failedLookups);
continue;
}
//printf("picIndex = %d list count = %d\n",picIndex,coreData.getMiscTextureList().size());

View File

@ -3223,7 +3223,8 @@ void MenuStateConnectedGame::FTPClient_CallbackEvent(string itemName,
else {
char *szBuf = (char *)userdata;
//printf("%s\n",szBuf);
console.addLine(szBuf);
//console.addLine(szBuf);
console.addLine(szBuf, false,"");
}
}
else if(type == ftp_cct_Map) {