From 8f863b5d8ffeeefd75d9937eeafcc77db5923ba3 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 29 Nov 2004 00:25:15 +0000 Subject: Fix music volume svn-id: r15960 --- kyra/kyra.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'kyra') diff --git a/kyra/kyra.cpp b/kyra/kyra.cpp index 52af048cc3..6a8bb1ad21 100644 --- a/kyra/kyra.cpp +++ b/kyra/kyra.cpp @@ -103,7 +103,8 @@ KyraEngine::KyraEngine(GameDetector *detector, OSystem *syst) warning("Sound initialization failed."); } - _mixer->setVolume(ConfMan.getInt("sfx_volume") * ConfMan.getInt("master_volume") / 255); + _mixer->setVolume(ConfMan.getInt("sfx_volume")); + _mixer->setMusicVolume(ConfMan.getInt("music_volume")); // gets the game if (detector->_game.features & GF_KYRA1) { -- cgit v1.2.3