aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2009-09-20 15:24:08 +0000
committerJohannes Schickel2009-09-20 15:24:08 +0000
commitd1acdaeb59a3db0f9bec5f23f57894e98521e8df (patch)
tree35f991f54619ef5187d522eb6cfd9b07e330646a
parent7c2e3aaa443d2c80e8494a14731c48b93aed6125 (diff)
downloadscummvm-rg350-d1acdaeb59a3db0f9bec5f23f57894e98521e8df.tar.gz
scummvm-rg350-d1acdaeb59a3db0f9bec5f23f57894e98521e8df.tar.bz2
scummvm-rg350-d1acdaeb59a3db0f9bec5f23f57894e98521e8df.zip
Slightly changed unsupported effect level handling in native MT-32 mode.
svn-id: r44214
-rw-r--r--engines/scumm/imuse/imuse_part.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/imuse/imuse_part.cpp b/engines/scumm/imuse/imuse_part.cpp
index 96aaf8b636..04bc4a2389 100644
--- a/engines/scumm/imuse/imuse_part.cpp
+++ b/engines/scumm/imuse/imuse_part.cpp
@@ -394,9 +394,9 @@ void Part::sendEffectLevel(uint8 value) {
// the reverb setting).
if (_player->_se->isNativeMT32()) {
if (value != 127 && value != 0) {
- warning("Trying to use unsupported effect level value %d in native MT-32 mode. Please report this!", value);
+ warning("Trying to use unsupported effect level value %d in native MT-32 mode.", value);
- if (value > 64)
+ if (value >= 64)
value = 127;
else
value = 0;