Play a short sound when enabling sound effects
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7184 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
91a6a0604e
commit
ad44673071
@ -154,6 +154,11 @@ void OptionsScreenAudio::eventCallback(Widget* widget, const std::string& name,
|
||||
|
||||
UserConfigParams::m_sfx = w->getState();
|
||||
sfx_manager->soundToggled(UserConfigParams::m_sfx);
|
||||
|
||||
if (UserConfigParams::m_sfx)
|
||||
{
|
||||
sfx_manager->quickSound("beep");
|
||||
}
|
||||
}
|
||||
} // eventCallback
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user