Bugfix: music was not resumed after in-game menu popped up.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1835 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
7ac0d8a2a3
commit
65c6748381
@ -90,7 +90,6 @@ void RaceMenu::select()
|
||||
break;
|
||||
|
||||
case WTOK_RESTART_RACE:
|
||||
world->unpause();
|
||||
menu_manager->popMenu();
|
||||
if(user_config->m_fullscreen) SDL_ShowCursor(SDL_DISABLE);
|
||||
world->restartRace();
|
||||
|
@ -792,6 +792,7 @@ void World::pause()
|
||||
//-----------------------------------------------------------------------------
|
||||
void World::unpause()
|
||||
{
|
||||
sound_manager -> resumeMusic() ;
|
||||
m_phase = RACE_PHASE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user