diff options
author | Paul Gilbert | 2017-01-11 20:13:45 -0500 |
---|---|---|
committer | Paul Gilbert | 2017-01-11 20:13:45 -0500 |
commit | 61140e634051af7c70a2b36b59512c752649a35a (patch) | |
tree | 1b8cd07e31a8da2dec168cc39a880f1a57d38bd5 /engines/titanic/true_talk | |
parent | c59b115d1f859af9323cba00731de6c20bc235ce (diff) | |
download | scummvm-rg350-61140e634051af7c70a2b36b59512c752649a35a.tar.gz scummvm-rg350-61140e634051af7c70a2b36b59512c752649a35a.tar.bz2 scummvm-rg350-61140e634051af7c70a2b36b59512c752649a35a.zip |
TITANIC: Fix return value of BarbotScript doSentenceEntry
Diffstat (limited to 'engines/titanic/true_talk')
-rw-r--r-- | engines/titanic/true_talk/barbot_script.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/titanic/true_talk/barbot_script.cpp b/engines/titanic/true_talk/barbot_script.cpp index 14e92e7975..5b778647bb 100644 --- a/engines/titanic/true_talk/barbot_script.cpp +++ b/engines/titanic/true_talk/barbot_script.cpp @@ -1147,9 +1147,10 @@ int BarbotScript::doSentenceEntry(int val1, const int *srcIdP, const TTroomScrip if (id) { addResponse(getDialogueId(id)); applyResponse(); + return 2; } - return 2; + return 0; } void BarbotScript::setDialRegion(int dialNum, int region) { |