Remember sfx volume even when it's off

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6845 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2010-12-01 18:45:17 +00:00
parent 7470074b4d
commit f6985bd379

View File

@ -52,7 +52,7 @@ SFXManager::SFXManager()
{
// The sound manager initialises OpenAL
m_initialized = music_manager->initialized();
m_master_gain = 1.0f;
m_master_gain = UserConfigParams::m_sfx_volume;
loadSfx();
if (!sfxAllowed()) return;