aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/true_talk/doorbot_script.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2017-09-16 22:03:36 -0400
committerPaul Gilbert2017-09-16 22:03:36 -0400
commit6cac39b646344ce085ad4d1b4e5836d25eb78019 (patch)
tree3cd8de9bf9707dffd7b3b9c4dfee1735299b39fc /engines/titanic/true_talk/doorbot_script.cpp
parentcedd15f3f3d2ec32a8eb4c1863fd73b726f577a2 (diff)
downloadscummvm-rg350-6cac39b646344ce085ad4d1b4e5836d25eb78019.tar.gz
scummvm-rg350-6cac39b646344ce085ad4d1b4e5836d25eb78019.tar.bz2
scummvm-rg350-6cac39b646344ce085ad4d1b4e5836d25eb78019.zip
TITANIC: Add differing response Id range checks for German
Diffstat (limited to 'engines/titanic/true_talk/doorbot_script.cpp')
-rw-r--r--engines/titanic/true_talk/doorbot_script.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/true_talk/doorbot_script.cpp b/engines/titanic/true_talk/doorbot_script.cpp
index 0323e3d021..84c0548871 100644
--- a/engines/titanic/true_talk/doorbot_script.cpp
+++ b/engines/titanic/true_talk/doorbot_script.cpp
@@ -546,10 +546,10 @@ ScriptChangedResult DoorbotScript::scriptChanged(const TTroomScript *roomScript,
CTrueTalkManager::setFlags(39, 0);
}
- if (id >= 220000 && id <= 222418) {
+ if (id >= 220000 && id <= TRANSLATE(222418, 222430)) {
addResponse(getDialogueId(id));
applyResponse();
- } else if (id >= 10000 && id <= 11986) {
+ } else if (id >= 10000 && id <= TRANSLATE(11986, 11999)) {
addResponse(id);
applyResponse();
}