[Scummvm-git-logs] scummvm master -> dd6794095bdc26b36f262f4e6e39c3c992a60efe

dreammaster paulfgilbert at gmail.com
Tue Jan 8 03:49:08 CET 2019


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
dd6794095b TITANIC: Fix some incorrect switch fall throughs


Commit: dd6794095bdc26b36f262f4e6e39c3c992a60efe
    https://github.com/scummvm/scummvm/commit/dd6794095bdc26b36f262f4e6e39c3c992a60efe
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2019-01-07T18:48:57-08:00

Commit Message:
TITANIC: Fix some incorrect switch fall throughs

Changed paths:
    engines/titanic/npcs/deskbot.cpp
    engines/titanic/true_talk/tt_parser.cpp


diff --git a/engines/titanic/npcs/deskbot.cpp b/engines/titanic/npcs/deskbot.cpp
index c23fefc..825e129 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 4abe9e5..e34b1b8 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) {





More information about the Scummvm-git-logs mailing list