diff options
author | Paul Gilbert | 2017-01-29 15:37:00 -0500 |
---|---|---|
committer | Paul Gilbert | 2017-01-29 15:37:00 -0500 |
commit | a9abeb5f95fa535df08728bc8563675efd007f03 (patch) | |
tree | 6cc8e0b0abac3819e15f6541465ea24d1095b5f4 /engines/titanic/npcs/maitre_d.cpp | |
parent | dc640ab50a63b0383c6aec6df4e0427df1824c3e (diff) | |
download | scummvm-rg350-a9abeb5f95fa535df08728bc8563675efd007f03.tar.gz scummvm-rg350-a9abeb5f95fa535df08728bc8563675efd007f03.tar.bz2 scummvm-rg350-a9abeb5f95fa535df08728bc8563675efd007f03.zip |
TITANIC: Cleanup of music room setup code
Diffstat (limited to 'engines/titanic/npcs/maitre_d.cpp')
-rw-r--r-- | engines/titanic/npcs/maitre_d.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/titanic/npcs/maitre_d.cpp b/engines/titanic/npcs/maitre_d.cpp index cbb406fffa..88eceab46b 100644 --- a/engines/titanic/npcs/maitre_d.cpp +++ b/engines/titanic/npcs/maitre_d.cpp @@ -122,11 +122,11 @@ bool CMaitreD::EnterViewMsg(CEnterViewMsg *msg) { if (_string3.contains("nasty ambient")) startTalking(this, 111, findView()); - else if (!CMusicRoom::_musicHandler->checkSound(1)) + else if (!CMusicRoom::_musicHandler->checkInstrument(SNAKE)) startTalking(this, 114, findView()); - else if (!CMusicRoom::_musicHandler->checkSound(3)) + else if (!CMusicRoom::_musicHandler->checkInstrument(BASS)) startTalking(this, 113, findView()); - else if (!CMusicRoom::_musicHandler->checkSound(2)) + else if (!CMusicRoom::_musicHandler->checkInstrument(PIANO)) startTalking(this, 115, findView()); else { startTalking(this, 110, findView()); |