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:
hikerstk 2008-05-09 00:14:55 +00:00
parent 7ac0d8a2a3
commit 65c6748381
2 changed files with 1 additions and 1 deletions

View File

@ -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();

View File

@ -792,6 +792,7 @@ void World::pause()
//-----------------------------------------------------------------------------
void World::unpause()
{
sound_manager -> resumeMusic() ;
m_phase = RACE_PHASE;
}