aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2002-08-24 16:13:16 +0000
committerMax Horn2002-08-24 16:13:16 +0000
commit657f6a86f523c248dedcdd8f17073ff6f1d05ca1 (patch)
treee8d91e801669d57e323d6bc7a69ce4bc6344f49b
parent50af6a97b7f8996c70a01f0f7c867ef2135a0bac (diff)
downloadscummvm-rg350-657f6a86f523c248dedcdd8f17073ff6f1d05ca1.tar.gz
scummvm-rg350-657f6a86f523c248dedcdd8f17073ff6f1d05ca1.tar.bz2
scummvm-rg350-657f6a86f523c248dedcdd8f17073ff6f1d05ca1.zip
fixed warning
svn-id: r4825
-rw-r--r--scumm/imuse.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/scumm/imuse.cpp b/scumm/imuse.cpp
index 2fe1351594..d4ca0efc69 100644
--- a/scumm/imuse.cpp
+++ b/scumm/imuse.cpp
@@ -1271,8 +1271,7 @@ int IMuseInternal::set_master_volume_intern(uint vol)
if (vol > 127)
return -1;
- if (_music_volume >= 0)
- vol = vol * _music_volume / 128;
+ vol = vol * _music_volume / 128;
_master_volume = vol;
for (int i = 0; i != 8; i++)