diff options
author | Paul Gilbert | 2017-08-01 19:56:16 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-08-01 19:56:16 -0400 |
commit | f4f15667a5a7cdde12f5aa7ccf1b7384277bffc4 (patch) | |
tree | c692407a161465df96821387f426674bf2f2c78a /engines/titanic/sound/restricted_auto_music_player.cpp | |
parent | 848a601c908f2739778c3cd66198891639f614d0 (diff) | |
download | scummvm-rg350-f4f15667a5a7cdde12f5aa7ccf1b7384277bffc4.tar.gz scummvm-rg350-f4f15667a5a7cdde12f5aa7ccf1b7384277bffc4.tar.bz2 scummvm-rg350-f4f15667a5a7cdde12f5aa7ccf1b7384277bffc4.zip |
TITANIC: Fix playback of ambient music for Top of the Well
Diffstat (limited to 'engines/titanic/sound/restricted_auto_music_player.cpp')
-rw-r--r-- | engines/titanic/sound/restricted_auto_music_player.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/sound/restricted_auto_music_player.cpp b/engines/titanic/sound/restricted_auto_music_player.cpp index 2384d4da25..c7e83b3958 100644 --- a/engines/titanic/sound/restricted_auto_music_player.cpp +++ b/engines/titanic/sound/restricted_auto_music_player.cpp @@ -58,10 +58,10 @@ bool CRestrictedAutoMusicPlayer::EnterRoomMsg(CEnterRoomMsg *msg) { CString roomName = msg->_oldRoom->getName(); if (_oldRoomName.compareToIgnoreCase(roomName)) { + return CAutoMusicPlayer::EnterRoomMsg(msg); + } else { _isRepeated = true; return false; - } else { - return CAutoMusicPlayer::EnterRoomMsg(msg); } } |