diff options
author | Colin Snover | 2017-08-24 21:39:31 -0500 |
---|---|---|
committer | Colin Snover | 2017-08-25 16:33:02 -0500 |
commit | 1e9434cac01cb225e45b5d389e553fb451e45851 (patch) | |
tree | 17d3af3c422a937937d60d905161b2803efcce86 /engines/titanic | |
parent | fe1c3a8fe96ff14e8e9024570fe956ddb822e0ca (diff) | |
download | scummvm-rg350-1e9434cac01cb225e45b5d389e553fb451e45851.tar.gz scummvm-rg350-1e9434cac01cb225e45b5d389e553fb451e45851.tar.bz2 scummvm-rg350-1e9434cac01cb225e45b5d389e553fb451e45851.zip |
TITANIC: Fix doubled announcement when summoning DoorBot
This would happen when the player is in one of the rooms with a
room-specific announcement.
Diffstat (limited to 'engines/titanic')
-rw-r--r-- | engines/titanic/npcs/doorbot.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/npcs/doorbot.cpp b/engines/titanic/npcs/doorbot.cpp index 7567311ebb..391c60aba3 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) |