[Scummvm-git-logs] scummvm master -> 1e9434cac01cb225e45b5d389e553fb451e45851

csnover csnover at users.noreply.github.com
Fri Aug 25 23:33:23 CEST 2017


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:
1e9434cac0 TITANIC: Fix doubled announcement when summoning DoorBot


Commit: 1e9434cac01cb225e45b5d389e553fb451e45851
    https://github.com/scummvm/scummvm/commit/1e9434cac01cb225e45b5d389e553fb451e45851
Author: Colin Snover (github.com at zetafleet.com)
Date: 2017-08-25T16:33:02-05:00

Commit Message:
TITANIC: Fix doubled announcement when summoning DoorBot

This would happen when the player is in one of the rooms with a
room-specific announcement.

Changed paths:
    engines/titanic/npcs/doorbot.cpp


diff --git a/engines/titanic/npcs/doorbot.cpp b/engines/titanic/npcs/doorbot.cpp
index 7567311..391c60a 100644
--- a/engines/titanic/npcs/doorbot.cpp
+++ b/engines/titanic/npcs/doorbot.cpp
@@ -177,7 +177,7 @@ bool CDoorbot::OnSummonBotMsg(COnSummonBotMsg *msg) {
 		for (idx = 0; idx < 8; ++idx) {
 			if (compareRoomNameTo(ROOM_WAVES[idx][0])) {
 				playSound(ROOM_WAVES[idx][1]);
-
+				break;
 			}
 		}
 		if (idx == 8)





More information about the Scummvm-git-logs mailing list