diff options
author | Thanasis Antoniou | 2019-02-24 20:14:07 +0200 |
---|---|---|
committer | Thanasis Antoniou | 2019-02-24 20:14:07 +0200 |
commit | 902b2278a57c801c78d7edaa99db9df0f6c00a49 (patch) | |
tree | e5f577add958c69eb017393d046ac2a1d8ddebe6 | |
parent | 3730a549e0ea48d9b0a29d1989ac84dcbe177ddd (diff) | |
download | scummvm-rg350-902b2278a57c801c78d7edaa99db9df0f6c00a49.tar.gz scummvm-rg350-902b2278a57c801c78d7edaa99db9df0f6c00a49.tar.bz2 scummvm-rg350-902b2278a57c801c78d7edaa99db9df0f6c00a49.zip |
BLADERUNNER: Impovement on spell correction of JEWELRY
Improvement allows text override which is good for translation support
-rw-r--r-- | engines/bladerunner/dialogue_menu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/bladerunner/dialogue_menu.cpp b/engines/bladerunner/dialogue_menu.cpp index 797c0a739b..3811471f9f 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) { + if (_vm->_languageCode == "E" && answer == 1020 && strcmp(answerTextCP, "DRAGONFLY JEWERLY") == 0) { answerTextCP = "DRAGONFLY JEWELRY"; } const Common::String &text = answerTextCP; |