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

dreammaster dreammaster at scummvm.org
Thu Feb 9 04:57:13 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:
b2aee3b116 TITANIC: Another music parser fix


Commit: b2aee3b116ed41c3f2c2e2ad7f3b43fa11944aae
    https://github.com/scummvm/scummvm/commit/b2aee3b116ed41c3f2c2e2ad7f3b43fa11944aae
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-02-08T22:57:05-05:00

Commit Message:
TITANIC: Another music parser fix

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


diff --git a/engines/titanic/sound/music_object.cpp b/engines/titanic/sound/music_object.cpp
index edf652a..1f84079 100644
--- a/engines/titanic/sound/music_object.cpp
+++ b/engines/titanic/sound/music_object.cpp
@@ -176,7 +176,7 @@ bool CMusicParser::parse(CValuePair &r) {
 			} else if (_currentChar >= 'A' && _currentChar <= 'G') {
 				val1 -= val2;
 				if (val1 <= 0)
-					val1 = 12;
+					val1 += 12;
 				r._field0 = _field8 + val1;
 			} else {
 				flag = false;





More information about the Scummvm-git-logs mailing list