diff options
author | Paul Gilbert | 2016-09-01 18:49:53 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-09-01 18:49:53 -0400 |
commit | ac740c8e39113f0cd50def490dba1c6d51e07e99 (patch) | |
tree | 11384f22edfe558c9f33a6505774617f390ac9bc /engines/titanic/core | |
parent | 9e70b0853bd79c07380f2e1975677ab85e208bf2 (diff) | |
download | scummvm-rg350-ac740c8e39113f0cd50def490dba1c6d51e07e99.tar.gz scummvm-rg350-ac740c8e39113f0cd50def490dba1c6d51e07e99.tar.bz2 scummvm-rg350-ac740c8e39113f0cd50def490dba1c6d51e07e99.zip |
TITANIC: Fix to setting and checking sounds
Diffstat (limited to 'engines/titanic/core')
-rw-r--r-- | engines/titanic/core/game_object.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/titanic/core/game_object.cpp b/engines/titanic/core/game_object.cpp index 4b88f07478..07358b8115 100644 --- a/engines/titanic/core/game_object.cpp +++ b/engines/titanic/core/game_object.cpp @@ -42,7 +42,7 @@ int CGameObject::_soundHandles[4]; void CGameObject::init() { _credits = nullptr; - _soundHandles[0] = _soundHandles[1] = 0; + _soundHandles[0] = _soundHandles[1] = -1; _soundHandles[2] = _soundHandles[3] = -1; } @@ -521,7 +521,6 @@ void CGameObject::stopGlobalSound(bool transition, int handleIndex) { sound.stopSound(_soundHandles[handleIndex]); _soundHandles[handleIndex] = -1; } - warning("CGameObject::soundFn4"); } void CGameObject::setGlobalSoundVolume(int mode, uint seconds, int handleIndex) { |