diff options
author | Paul Gilbert | 2017-01-11 21:12:58 -0500 |
---|---|---|
committer | Paul Gilbert | 2017-01-11 21:12:58 -0500 |
commit | aeb05bd965a094e48f38a1d401dd7872928d7478 (patch) | |
tree | dcc905a82b778a1011eade41158dda79c76ee597 /engines | |
parent | 7dc50cc41125d457906d0fd018e0fd69277e778d (diff) | |
download | scummvm-rg350-aeb05bd965a094e48f38a1d401dd7872928d7478.tar.gz scummvm-rg350-aeb05bd965a094e48f38a1d401dd7872928d7478.tar.bz2 scummvm-rg350-aeb05bd965a094e48f38a1d401dd7872928d7478.zip |
TITANIC: Fix behaviour of Phonograph Lid
Diffstat (limited to 'engines')
-rw-r--r-- | engines/titanic/game/phonograph_lid.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/titanic/game/phonograph_lid.cpp b/engines/titanic/game/phonograph_lid.cpp index d1ab478f3d..e4e5f4882c 100644 --- a/engines/titanic/game/phonograph_lid.cpp +++ b/engines/titanic/game/phonograph_lid.cpp @@ -47,18 +47,18 @@ bool CPhonographLid::MouseButtonDownMsg(CMouseButtonDownMsg *msg) { CQueryPhonographState stateMsg; stateMsg.execute(getParent(), nullptr, MSGFLAG_SCAN); if (stateMsg._value) { + petDisplayMessage(0, LOCKED_MUSIC_SYSTEM); + } else { if (_open) { + playMovie(27, 55, 0); + } else { CGameObject *lock = dynamic_cast<CGameObject *>(findByName("Music System Lock")); if (lock) lock->setVisible(false); playMovie(0, 27, 0); - } else { - playMovie(27, 55, 0); } _open = !_open; - } else { - petDisplayMessage(0, LOCKED_MUSIC_SYSTEM); } return true; |