aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/sound/music_room.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-08-10 23:10:46 -0400
committerPaul Gilbert2016-08-10 23:10:46 -0400
commit47c7e39bca80a5249288fac5c5da4a44d552e763 (patch)
tree9d33277863fb8e3414b3c23d1809a2cf7a0b0200 /engines/titanic/sound/music_room.cpp
parent2b486009f51bf386be3c9d97c22b7b17b0e898e8 (diff)
downloadscummvm-rg350-47c7e39bca80a5249288fac5c5da4a44d552e763.tar.gz
scummvm-rg350-47c7e39bca80a5249288fac5c5da4a44d552e763.tar.bz2
scummvm-rg350-47c7e39bca80a5249288fac5c5da4a44d552e763.zip
TITANIC: Add music handler stopping code
Diffstat (limited to 'engines/titanic/sound/music_room.cpp')
-rw-r--r--engines/titanic/sound/music_room.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/titanic/sound/music_room.cpp b/engines/titanic/sound/music_room.cpp
index 06cf866811..34217de184 100644
--- a/engines/titanic/sound/music_room.cpp
+++ b/engines/titanic/sound/music_room.cpp
@@ -58,7 +58,8 @@ void CMusicRoom::startMusic(int musicId) {
}
void CMusicRoom::stopMusic() {
- // TODO
+ if (_musicHandler)
+ _musicHandler->stop();
}
} // End of namespace Titanic