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:
parent
7470074b4d
commit
f6985bd379
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user