diff options
author | Paul Gilbert | 2011-06-20 19:57:33 +1000 |
---|---|---|
committer | Paul Gilbert | 2011-06-20 19:57:33 +1000 |
commit | f8e0ff86c74e5ce24cf5f3d7b2308b810e3ebd41 (patch) | |
tree | 05a97e6d106089c7def183abb0d21209deba620f | |
parent | 123f2416d8074a50e2c42c83caaf94961d4c6d36 (diff) | |
download | scummvm-rg350-f8e0ff86c74e5ce24cf5f3d7b2308b810e3ebd41.tar.gz scummvm-rg350-f8e0ff86c74e5ce24cf5f3d7b2308b810e3ebd41.tar.bz2 scummvm-rg350-f8e0ff86c74e5ce24cf5f3d7b2308b810e3ebd41.zip |
TSAGE: Bugfix for properly decrementing _disabledServerCount
-rw-r--r-- | engines/tsage/sound.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/tsage/sound.cpp b/engines/tsage/sound.cpp index 24c64bda3c..bbd1c407d2 100644 --- a/engines/tsage/sound.cpp +++ b/engines/tsage/sound.cpp @@ -215,12 +215,12 @@ void SoundManager::installDriver(int driverNum) { // Unmute currently active sounds for (Common::List<Sound *>::iterator i = _playList.begin(); i != _playList.end(); ++i) (*i)->mute(false); - - enableSoundServer(); } break; } } + + enableSoundServer(); } /** @@ -355,7 +355,7 @@ void SoundManager::rethinkVoiceTypes() { } void SoundManager::_sfSoundServer() { - if (!sfManager()._serverDisabledCount && !sfManager()._serverSuspendedCount) + if (sfManager()._serverDisabledCount || sfManager()._serverSuspendedCount) return; if (sfManager()._needToRethink) { |