From 3d4bc3c59b652acd53fa6307e53db7ad5a500f30 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 18 Sep 2017 22:22:16 -0400 Subject: TITANIC: Add missing return check in BellbotScript::process --- engines/titanic/true_talk/bellbot_script.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/titanic') 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")) { -- cgit v1.2.3