[Scummvm-git-logs] scummvm master -> b2d00993efaa2492584aa38026353246b57cf4dd

dreammaster dreammaster at scummvm.org
Mon Dec 19 04:42:03 CET 2016


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:
b2d00993ef TITANIC: Fix volume percentage for modes 3,4,5 in updateVolume


Commit: b2d00993efaa2492584aa38026353246b57cf4dd
    https://github.com/scummvm/scummvm/commit/b2d00993efaa2492584aa38026353246b57cf4dd
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2016-12-18T22:42:02-05:00

Commit Message:
TITANIC: Fix volume percentage for modes 3,4,5 in updateVolume

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 5f8e53c..a3cdae9 100644
--- a/engines/titanic/sound/sound_manager.cpp
+++ b/engines/titanic/sound/sound_manager.cpp
@@ -443,7 +443,7 @@ void QSoundManager::updateVolume(int channel, uint panRate) {
 	case 3:
 	case 4:
 	case 5:
-		volume = (24525 * volume) / 100;
+		volume = (75 * volume) / 100;
 		break;
 	case 6:
 	case 7:





More information about the Scummvm-git-logs mailing list