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

dreammaster dreammaster at scummvm.org
Fri Feb 10 01:11:57 CET 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:
c9d0301016 TITANIC: Fix setting correct instrument _pitchControl values


Commit: c9d0301016f8d67464c6b532874ce849ed2f49d3
    https://github.com/scummvm/scummvm/commit/c9d0301016f8d67464c6b532874ce849ed2f49d3
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-02-09T19:11:48-05:00

Commit Message:
TITANIC: Fix setting correct instrument _pitchControl values

Changed paths:
    engines/titanic/sound/music_room_handler.cpp


diff --git a/engines/titanic/sound/music_room_handler.cpp b/engines/titanic/sound/music_room_handler.cpp
index 8c0ac88..cbef0ce 100644
--- a/engines/titanic/sound/music_room_handler.cpp
+++ b/engines/titanic/sound/music_room_handler.cpp
@@ -149,7 +149,7 @@ void CMusicRoomHandler::setDirectionControl2(MusicInstrument instrument, bool va
 
 void CMusicRoomHandler::setPitchControl(MusicInstrument instrument, int value) {
 	if (instrument >= BELLS && instrument <= BASS && value >= -2 && value <= 2)
-		_array1[instrument]._pitchControl = value;
+		_array1[instrument]._pitchControl = value * 3;
 }
 
 void CMusicRoomHandler::setSpeedControl(MusicInstrument instrument, int value) {





More information about the Scummvm-git-logs mailing list