diff options
author | Paul Gilbert | 2017-09-18 22:22:16 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-09-18 22:22:16 -0400 |
commit | 3d4bc3c59b652acd53fa6307e53db7ad5a500f30 (patch) | |
tree | 2fb0df4434a62245c517472d97332bf5d968a8e8 /engines/titanic/true_talk | |
parent | fce250372fdd6e9890a333f70d6236b32a1df898 (diff) | |
download | scummvm-rg350-3d4bc3c59b652acd53fa6307e53db7ad5a500f30.tar.gz scummvm-rg350-3d4bc3c59b652acd53fa6307e53db7ad5a500f30.tar.bz2 scummvm-rg350-3d4bc3c59b652acd53fa6307e53db7ad5a500f30.zip |
TITANIC: Add missing return check in BellbotScript::process
Diffstat (limited to 'engines/titanic/true_talk')
-rw-r--r-- | engines/titanic/true_talk/bellbot_script.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/titanic/true_talk/bellbot_script.cpp b/engines/titanic/true_talk/bellbot_script.cpp index 7496bd5fc1..ec15c5dfbf 100644 --- a/engines/titanic/true_talk/bellbot_script.cpp +++ b/engines/titanic/true_talk/bellbot_script.cpp @@ -267,6 +267,8 @@ int BellbotScript::process(const TTroomScript *roomScript, const TTsentence *sen return 2; } } + if (result == 2) + return 2; if (sentence->localWord("television") || sentence->localWord("tv") || sentence->localWord("crush") || sentence->localWord("crushed")) { |