aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/sound.cpp
diff options
context:
space:
mode:
authorKamil Zbróg2013-11-04 11:31:09 +0000
committerKamil Zbróg2013-11-04 11:31:09 +0000
commit9dc35033f523c9c694f24e15ed45ba6194786a25 (patch)
tree7b5f28a46601e4a980f147a8af686270d4b3cf1b /engines/cine/sound.cpp
parentc56c85265f0ae4df7cf11dd3e2170f5c6c6f6edb (diff)
parenteea62d4b6d28dbb8fd91fa0889ce1b7fd177458f (diff)
downloadscummvm-rg350-9dc35033f523c9c694f24e15ed45ba6194786a25.tar.gz
scummvm-rg350-9dc35033f523c9c694f24e15ed45ba6194786a25.tar.bz2
scummvm-rg350-9dc35033f523c9c694f24e15ed45ba6194786a25.zip
Merge remote-tracking branch 'origin/master' into prince
Diffstat (limited to 'engines/cine/sound.cpp')
-rw-r--r--engines/cine/sound.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/cine/sound.cpp b/engines/cine/sound.cpp
index 0df926675e..de6f91d8c3 100644
--- a/engines/cine/sound.cpp
+++ b/engines/cine/sound.cpp
@@ -309,9 +309,7 @@ void AdLibSoundDriver::setupChannel(int channel, const byte *data, int instrumen
volume = 0;
}
volume += volume / 4;
- if (volume > 127) {
- volume = 127;
- }
+
_channelsVolumeTable[channel] = volume;
setupInstrument(data, channel);
}