[Scummvm-git-logs] scummvm master -> 4263b29d0aa98ce5c621d2170eb6f961b6ac20f8
dreammaster
dreammaster at scummvm.org
Sat Aug 19 02:14:01 CEST 2017
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
4263b29d0a TITANIC: Fix Promenade fan sound after toggling fan speed too much
Commit: 4263b29d0aa98ce5c621d2170eb6f961b6ac20f8
https://github.com/scummvm/scummvm/commit/4263b29d0aa98ce5c621d2170eb6f961b6ac20f8
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-08-18T20:13:56-04:00
Commit Message:
TITANIC: Fix Promenade fan sound after toggling fan speed too much
Changed paths:
engines/titanic/sound/sound_manager.cpp
diff --git a/engines/titanic/sound/sound_manager.cpp b/engines/titanic/sound/sound_manager.cpp
index 5146187..4b5887b 100644
--- a/engines/titanic/sound/sound_manager.cpp
+++ b/engines/titanic/sound/sound_manager.cpp
@@ -288,7 +288,7 @@ void QSoundManager::setVolume(int handle, uint volume, uint seconds) {
_channelsVolume[slot._channel] = volume;
updateVolume(slot._channel, seconds * 1000);
- if (volume) {
+ if (!volume) {
uint ticks = g_vm->_events->getTicksCount() + seconds * 1000;
if (!slot._ticks || ticks >= slot._ticks)
slot._ticks = ticks;
More information about the Scummvm-git-logs
mailing list