From 8fa1bf8cbdd516c8120d5861c20f729a07c0812e Mon Sep 17 00:00:00 2001 From: Thanasis Antoniou Date: Thu, 21 Mar 2019 10:07:59 +0200 Subject: BLADERUNNER: Support of localizations that use E as languageCode Improved alignment of subtitles option for Russian version The text for the subtitles option probably won't make sense though in Russian, someone will have to correct it to what it should be. --- engines/bladerunner/dialogue_menu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/bladerunner/dialogue_menu.cpp') diff --git a/engines/bladerunner/dialogue_menu.cpp b/engines/bladerunner/dialogue_menu.cpp index c3aced0c73..6339fa1ef6 100644 --- a/engines/bladerunner/dialogue_menu.cpp +++ b/engines/bladerunner/dialogue_menu.cpp @@ -119,7 +119,7 @@ bool DialogueMenu::addToList(int answer, bool done, int priorityPolite, int prio #else // fix spelling or entry id 1020 to DRAGONFLY JEWELRY in English version const char *answerTextCP = _textResource->getText(answer); - if (_vm->_languageCode == "E" && answer == 1020 && strcmp(answerTextCP, "DRAGONFLY JEWERLY") == 0) { + if (_vm->_language == Common::EN_ANY && answer == 1020 && strcmp(answerTextCP, "DRAGONFLY JEWERLY") == 0) { answerTextCP = "DRAGONFLY JEWELRY"; } const Common::String &text = answerTextCP; -- cgit v1.2.3