- added ability to output errors in XML to console when validating techtrees

This commit is contained in:
Mark Vejvoda 2010-07-30 17:20:13 +00:00
parent ece4686980
commit e996dd2b79

View File

@ -574,8 +574,6 @@ int glestMain(int argc, char** argv){
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
gameInitialized = true;
Renderer &renderer= Renderer::getInstance();
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d] OpenGL Info:\n%s\n",__FILE__,__FUNCTION__,__LINE__,renderer.getGlInfo().c_str());
@ -659,6 +657,8 @@ int glestMain(int argc, char** argv){
return -1;
}
gameInitialized = true;
if(config.getBool("AllowGameDataSynchCheck","false") == true) {
vector<string> techDataPaths = config.getPathListForType(ptTechs);
preCacheThread.reset(new FileCRCPreCacheThread());