aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/titanic/game_state.cpp1
-rw-r--r--engines/titanic/npcs/bellbot.cpp2
2 files changed, 1 insertions, 2 deletions
diff --git a/engines/titanic/game_state.cpp b/engines/titanic/game_state.cpp
index 8eae028387..ecff021266 100644
--- a/engines/titanic/game_state.cpp
+++ b/engines/titanic/game_state.cpp
@@ -35,7 +35,6 @@ bool CGameStateMovieList::clear() {
++i;
} else {
i = erase(i);
- delete movieItem;
}
}
diff --git a/engines/titanic/npcs/bellbot.cpp b/engines/titanic/npcs/bellbot.cpp
index 25fa7eb3ea..2514d20df6 100644
--- a/engines/titanic/npcs/bellbot.cpp
+++ b/engines/titanic/npcs/bellbot.cpp
@@ -79,7 +79,7 @@ bool CBellBot::OnSummonBotMsg(COnSummonBotMsg *msg) {
for (idx = 0; idx < 8; ++idx) {
if (compareRoomNameTo(ROOM_WAVES[idx][0])) {
playSound(ROOM_WAVES[idx][1]);
-
+ break;
}
}
if (idx == 8)