aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/emma_control.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2017-10-13 17:51:49 -0400
committerPaul Gilbert2017-10-13 17:51:49 -0400
commit1d8ccbe1eae59811c90d5a6a22870e97272e178d (patch)
treebb9ac838121db6ffd6947df3e5779ca70f3abcea /engines/titanic/game/emma_control.cpp
parent44aaaf43b8bd3ca32ffde185f4d9f6dd18ab2d5c (diff)
downloadscummvm-rg350-1d8ccbe1eae59811c90d5a6a22870e97272e178d.tar.gz
scummvm-rg350-1d8ccbe1eae59811c90d5a6a22870e97272e178d.tar.bz2
scummvm-rg350-1d8ccbe1eae59811c90d5a6a22870e97272e178d.zip
TITANIC: Cleanup of auto music player classes and messages
Diffstat (limited to 'engines/titanic/game/emma_control.cpp')
-rw-r--r--engines/titanic/game/emma_control.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/game/emma_control.cpp b/engines/titanic/game/emma_control.cpp
index e3ba7cc42c..46cde9bfcd 100644
--- a/engines/titanic/game/emma_control.cpp
+++ b/engines/titanic/game/emma_control.cpp
@@ -57,7 +57,7 @@ bool CEmmaControl::EnterViewMsg(CEnterViewMsg *msg) {
bool CEmmaControl::StatusChangeMsg(CStatusChangeMsg *msg) {
_flag = !_flag;
setVisible(_flag);
- CChangeMusicMsg changeMsg(_flag ? _visibleSoundName : _hiddenSoundName, 0);
+ CChangeMusicMsg changeMsg(_flag ? _visibleSoundName : _hiddenSoundName, MUSIC_NONE);
changeMsg.execute(findRoom(), CAutoMusicPlayer::_type,
MSGFLAG_SCAN | MSGFLAG_BREAK_IF_HANDLED | MSGFLAG_CLASS_DEF);
return true;