Stop finish sound while exit from race result gui
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14288 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
831d27efbc
commit
b357de50c2
@ -81,6 +81,12 @@ void RaceResultGUI::tearDown()
|
||||
{
|
||||
Screen::tearDown();
|
||||
m_font->setMonospaceDigits(m_was_monospace);
|
||||
|
||||
if (m_finish_sound != NULL &&
|
||||
m_finish_sound->getStatus() == SFXManager::SFX_PLAYING)
|
||||
{
|
||||
m_finish_sound->stop();
|
||||
}
|
||||
} // tearDown
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user