- if hint text title is missing in language file, default to english

This commit is contained in:
Mark Vejvoda 2012-07-20 22:04:46 +00:00
parent 5cb761e5a6
commit 2204e0577c
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ void Logger::renderLoadingScreen() {
if(gameHintToShow != "") {
Lang &lang= Lang::getInstance();
string hintText = lang.get("Hint");
string hintText = lang.get("Hint","",true);
char szBuf[8096]="";
sprintf(szBuf,hintText.c_str(),gameHintToShow.c_str());
hintText = szBuf;