- attempt to work more friendly with open suse

This commit is contained in:
Mark Vejvoda 2010-08-03 01:58:43 +00:00
parent c784aef95b
commit 0b6fae7c93
1 changed files with 6 additions and 0 deletions

View File

@ -581,6 +581,8 @@ int glestMain(int argc, char** argv){
Renderer &renderer= Renderer::getInstance();
printf("%s",renderer.getGlInfo().c_str());
delete mainWindow;
return -1;
}
if(hasCommandArgument(argc, argv,"--validate-techtrees") == true) {
@ -591,6 +593,8 @@ int glestMain(int argc, char** argv){
vector<string> results;
findDirs(config.getPathListForType(ptTechs), results);
vector<string> techTreeFiles = results;
{
World world;
vector<string> techPaths = config.getPathListForType(ptTechs);
@ -657,7 +661,9 @@ int glestMain(int argc, char** argv){
}
printf("\n====== Finished Validation ======\n");
}
delete mainWindow;
return -1;
}