aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2017-02-08 22:57:05 -0500
committerPaul Gilbert2017-02-08 22:57:05 -0500
commitb2aee3b116ed41c3f2c2e2ad7f3b43fa11944aae (patch)
tree383714625c66c01f3e164e2a7a5244c64ffefa4c /engines
parent017056fb2ea3e95c556749285985b4700e274ec6 (diff)
downloadscummvm-rg350-b2aee3b116ed41c3f2c2e2ad7f3b43fa11944aae.tar.gz
scummvm-rg350-b2aee3b116ed41c3f2c2e2ad7f3b43fa11944aae.tar.bz2
scummvm-rg350-b2aee3b116ed41c3f2c2e2ad7f3b43fa11944aae.zip
TITANIC: Another music parser fix
Diffstat (limited to 'engines')
-rw-r--r--engines/titanic/sound/music_object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/sound/music_object.cpp b/engines/titanic/sound/music_object.cpp
index edf652a287..1f840790b9 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;