aboutsummaryrefslogtreecommitdiff
path: root/engines/cge2/cge2.cpp
diff options
context:
space:
mode:
authoruruk2014-07-25 22:32:18 +0200
committeruruk2014-07-25 22:32:18 +0200
commit944465431a4b0d4c8372456e52720f7baf5865ec (patch)
tree77db601fe72a4c9f028bb0065ec2fae9aedb1e5f /engines/cge2/cge2.cpp
parent668b133dabdf642ee08b53bab75a273c90cc9529 (diff)
downloadscummvm-rg350-944465431a4b0d4c8372456e52720f7baf5865ec.tar.gz
scummvm-rg350-944465431a4b0d4c8372456e52720f7baf5865ec.tar.bz2
scummvm-rg350-944465431a4b0d4c8372456e52720f7baf5865ec.zip
CGE2: Implement the sfx volume button on the toolbar.
Diffstat (limited to 'engines/cge2/cge2.cpp')
-rw-r--r--engines/cge2/cge2.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/cge2/cge2.cpp b/engines/cge2/cge2.cpp
index d28215bc93..9dbbf7db06 100644
--- a/engines/cge2/cge2.cpp
+++ b/engines/cge2/cge2.cpp
@@ -74,6 +74,7 @@ CGE2Engine::CGE2Engine(OSystem *syst, const ADGameDescription *gameDescription)
_quitFlag = false;
_bitmapPalette = nullptr;
_music = true;
+ _sfx = true;
_startupMode = 1;
_now = 1;
_sex = 1;
@@ -102,7 +103,7 @@ CGE2Engine::CGE2Engine(OSystem *syst, const ADGameDescription *gameDescription)
} else {
_oldSpeechVolume = ConfMan.getInt("speech_volume");
_oldMusicVolume = _musicVolume = ConfMan.getInt("music_volume");
- _sfxVolume = ConfMan.getInt("sfx_volume");
+ _oldSfxVolume = _sfxVolume = ConfMan.getInt("sfx_volume");
}
}