diff options
author | Vladimir Menshakov | 2011-06-14 10:33:52 +0400 |
---|---|---|
committer | Alyssa Milburn | 2011-06-15 17:34:59 +0200 |
commit | 5826ae88aee4f682d7a5b74b093e419db9b35f9f (patch) | |
tree | 0496a0d6a515de4315e9b71ffc7c90843ae5c4e2 /engines | |
parent | 8a878356383d039f225acfe330aa999322a128e0 (diff) | |
download | scummvm-rg350-5826ae88aee4f682d7a5b74b093e419db9b35f9f.tar.gz scummvm-rg350-5826ae88aee4f682d7a5b74b093e419db9b35f9f.tar.bz2 scummvm-rg350-5826ae88aee4f682d7a5b74b093e419db9b35f9f.zip |
DREAMWEB: cut upper volume limit
Diffstat (limited to 'engines')
-rw-r--r-- | engines/dreamweb/dreamweb.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/dreamweb/dreamweb.cpp b/engines/dreamweb/dreamweb.cpp index 818c864127..bbf25a7bcc 100644 --- a/engines/dreamweb/dreamweb.cpp +++ b/engines/dreamweb/dreamweb.cpp @@ -463,6 +463,8 @@ void DreamWebEngine::soundHandler() { //5 - 0x4d-0xb2 //6 - 0x5d-0xa2 //7 - 0x6f-0x91 + if (volume >= 8) + volume = 7; volume = (8 - volume) * Audio::Mixer::kMaxChannelVolume / 8; _mixer->setChannelVolume(_channelHandle[0], volume); |