aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic
diff options
context:
space:
mode:
authorPaul Gilbert2019-01-07 18:48:57 -0800
committerPaul Gilbert2019-01-07 18:48:57 -0800
commitdd6794095bdc26b36f262f4e6e39c3c992a60efe (patch)
tree75cf5c2ba61482947d36e2b330c62e360117f37d /engines/titanic
parent0793196a52a83970bb9bb4ac36f3068739afa543 (diff)
downloadscummvm-rg350-dd6794095bdc26b36f262f4e6e39c3c992a60efe.tar.gz
scummvm-rg350-dd6794095bdc26b36f262f4e6e39c3c992a60efe.tar.bz2
scummvm-rg350-dd6794095bdc26b36f262f4e6e39c3c992a60efe.zip
TITANIC: Fix some incorrect switch fall throughs
Diffstat (limited to 'engines/titanic')
-rw-r--r--engines/titanic/npcs/deskbot.cpp1
-rw-r--r--engines/titanic/true_talk/tt_parser.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/engines/titanic/npcs/deskbot.cpp b/engines/titanic/npcs/deskbot.cpp
index c23fefce91..825e12922f 100644
--- a/engines/titanic/npcs/deskbot.cpp
+++ b/engines/titanic/npcs/deskbot.cpp
@@ -204,6 +204,7 @@ bool CDeskbot::TrueTalkTriggerActionMsg(CTrueTalkTriggerActionMsg *msg) {
default:
break;
}
+ break;
case 20:
if (getPassengerClass() == 1) {
diff --git a/engines/titanic/true_talk/tt_parser.cpp b/engines/titanic/true_talk/tt_parser.cpp
index 4abe9e52b1..e34b1b8ab0 100644
--- a/engines/titanic/true_talk/tt_parser.cpp
+++ b/engines/titanic/true_talk/tt_parser.cpp
@@ -689,6 +689,7 @@ int TTparser::loadRequests(TTword *word) {
default:
break;
}
+ break;
case WC_ADJECTIVE:
if (word->_id == 304) {