Skip to content

Commit

Permalink
TONY: USe default fonts (Italian/English) when the language is unhand…
Browse files Browse the repository at this point in the history
…led instead of erroring out
  • Loading branch information
Strangerke committed Aug 26, 2012
1 parent 2ce6576 commit 72604fa
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions engines/tony/tony.cpp
Expand Up @@ -239,11 +239,9 @@ bool TonyEngine::loadTonyDat() {
expectedLangVariant = 5;
break;
default:
msg = Common::String::format("Font variant not present in 'tony.dat'. Get it from the ScummVM website");
GUIErrorMessage(msg);
warning("%s", msg.c_str());

return false;
warning("Unhandled language, falling back to English/Italian fonts.");
expectedLangVariant = 0;
break;
}

int numVariant = in.readUint16BE();
Expand Down

0 comments on commit 72604fa

Please sign in to comment.