Bugfix: Returning to the menus from a race does not return the theme
music. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1471 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
1740d47f76
commit
554c9cd41b
@ -81,12 +81,13 @@ void GameManager::run()
|
||||
|
||||
if (!music_on && !race_manager->raceIsActive())
|
||||
{
|
||||
sound_manager->playMusic(stk_config->m_title_music);
|
||||
sound_manager->playMusic(stk_config->m_title_music);
|
||||
music_on = true;
|
||||
}
|
||||
|
||||
if (race_manager->raceIsActive())
|
||||
{
|
||||
music_on = false;
|
||||
scene->draw((m_curr_time - m_prev_time ) * 0.001f);
|
||||
if ( world->getPhase() != World::LIMBO_PHASE)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user