diff options
author | Paul Gilbert | 2016-10-29 21:48:10 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-10-29 21:48:10 -0400 |
commit | 64e4aac26a7a3863708b1d01ce2bb7394861d538 (patch) | |
tree | e4fd8f6519f5529ceab69c55eb66f5ce4eb3c5b5 /engines/titanic/sound/sound.cpp | |
parent | 2e2e0df346eb668aba5f7a3376a20c4619984fed (diff) | |
download | scummvm-rg350-64e4aac26a7a3863708b1d01ce2bb7394861d538.tar.gz scummvm-rg350-64e4aac26a7a3863708b1d01ce2bb7394861d538.tar.bz2 scummvm-rg350-64e4aac26a7a3863708b1d01ce2bb7394861d538.zip |
TITANIC: Fix pressing buttons in Service Elevator
Diffstat (limited to 'engines/titanic/sound/sound.cpp')
-rw-r--r-- | engines/titanic/sound/sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/sound/sound.cpp b/engines/titanic/sound/sound.cpp index e48c8760c5..fb8cc299df 100644 --- a/engines/titanic/sound/sound.cpp +++ b/engines/titanic/sound/sound.cpp @@ -57,7 +57,7 @@ void CSound::preEnterView(CViewItem *newView, bool isNewRoom) { _soundManager.setListenerPosition(xp, yp, zp, cosVal, sinVal, 0, isNewRoom); } -bool CSound::isActive(int handle) const { +bool CSound::isActive(int handle) { if (handle != 0 && handle != -1) return _soundManager.isActive(handle); |