diff options
| author | Paul Gilbert | 2017-08-18 20:13:56 -0400 | 
|---|---|---|
| committer | Paul Gilbert | 2017-08-18 20:13:56 -0400 | 
| commit | 4263b29d0aa98ce5c621d2170eb6f961b6ac20f8 (patch) | |
| tree | 9fc999dd4147886041688a450221c8a8bc86fb15 | |
| parent | 2354c9de12b21974737f6ac456d2565b7f32e7e1 (diff) | |
| download | scummvm-rg350-4263b29d0aa98ce5c621d2170eb6f961b6ac20f8.tar.gz scummvm-rg350-4263b29d0aa98ce5c621d2170eb6f961b6ac20f8.tar.bz2 scummvm-rg350-4263b29d0aa98ce5c621d2170eb6f961b6ac20f8.zip  | |
TITANIC: Fix Promenade fan sound after toggling fan speed too much
| -rw-r--r-- | engines/titanic/sound/sound_manager.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/sound/sound_manager.cpp b/engines/titanic/sound/sound_manager.cpp index 514618783b..4b5887b1e7 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;  | 
