aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorJamieson Christian2002-12-07 20:28:40 +0000
committerJamieson Christian2002-12-07 20:28:40 +0000
commit359f65066a3bed081886ea7396561d5669ddb633 (patch)
treec2ae87522a44863f5692f9578b097783d668ba7f /scumm
parentb382c79a4141c3dacc72978e581b2a483fbc10b9 (diff)
downloadscummvm-rg350-359f65066a3bed081886ea7396561d5669ddb633.tar.gz
scummvm-rg350-359f65066a3bed081886ea7396561d5669ddb633.tar.bz2
scummvm-rg350-359f65066a3bed081886ea7396561d5669ddb633.zip
Fixed bad music volumes after load
svn-id: r5873
Diffstat (limited to 'scumm')
-rw-r--r--scumm/saveload.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/scumm/saveload.cpp b/scumm/saveload.cpp
index 434efb06e2..a562925587 100644
--- a/scumm/saveload.cpp
+++ b/scumm/saveload.cpp
@@ -715,8 +715,11 @@ void Scumm::saveOrLoad(Serializer *s)
}
}
- if (_imuse)
+ if (_imuse) {
_imuse->save_or_load(s, this);
+ _imuse->set_master_volume (_sound->_sound_volume_master);
+ _imuse->set_music_volume (_sound->_sound_volume_music);
+ }
}
void Scumm::saveLoadResource(Serializer *ser, int type, int idx)