aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorMartin Kiewitz2010-01-01 21:04:20 +0000
committerMartin Kiewitz2010-01-01 21:04:20 +0000
commit379ae6df30b1014f2c6aa772d142d007ab4edffe (patch)
tree74197af2a6b0b09b77d25669c251c9e2af59e357 /engines/sci/engine
parent967853c03f03bc620ab82e1550a419d716ba3388 (diff)
downloadscummvm-rg350-379ae6df30b1014f2c6aa772d142d007ab4edffe.tar.gz
scummvm-rg350-379ae6df30b1014f2c6aa772d142d007ab4edffe.tar.bz2
scummvm-rg350-379ae6df30b1014f2c6aa772d142d007ab4edffe.zip
SCI/newmusic: now clips volume against MUSIC_VOLUME_MAX (127) instead of the mixer max volume (which would be wrong of course), adjusts volume when setting sample channel volume
svn-id: r46850
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/savegame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/savegame.cpp b/engines/sci/engine/savegame.cpp
index 315b264ddd..9ec79dd2c0 100644
--- a/engines/sci/engine/savegame.cpp
+++ b/engines/sci/engine/savegame.cpp
@@ -120,7 +120,7 @@ void MusicEntry::saveLoadWithSerializer(Common::Serializer &s) {
s.syncAsSint32LE(hold);
// volume and dataInc will be synced from the sound objects
// when the sound list is reconstructed in gamestate_restore()
- volume = MUSIC_VOLUME_FOR_SCI0;
+ volume = MUSIC_VOLUME_MAX;
dataInc = 0;
// No fading info
fadeTo = 0;