- bugfix for not finding hud for scenarios with embedded techtree

This commit is contained in:
Mark Vejvoda
2012-01-04 04:10:11 +00:00
parent a20b848646
commit a1a0b9e79c
2 changed files with 4 additions and 3 deletions

View File

@@ -78,7 +78,7 @@ TextFTGL::TextFTGL(FontTextHandlerType type) : Text(type) {
delete ftFont; ftFont = NULL;
free((void*)fontFile);
fontFile = NULL;
throw runtime_error("FTGL: error loading font");
throw runtime_error(string("FTGL: error loading font: ") + string(fontFile));
}
free((void*)fontFile);
fontFile = NULL;