Stop the musicwheel when the optionslist is oppened, this fixes a bug when you call the optionslist using a custom code detector

Small fix in gamestate
This commit is contained in:
Marcio Barrientos
2013-01-03 03:17:30 -06:00
parent a3491b5a61
commit b39137e1be
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1788,7 +1788,7 @@ void GameState::GetRankingFeats( PlayerNumber pn, vector<RankingFeat> &asFeatsOu
} }
break; break;
default: default:
FAIL_M(ssprintf("Invalid play mode: %i", m_PlayMode)); FAIL_M(ssprintf("Invalid play mode: %i", int(m_PlayMode)));
} }
} }
+1
View File
@@ -1905,6 +1905,7 @@ void ScreenSelectMusic::OpenOptionsList(PlayerNumber pn)
{ {
if( pn != PLAYER_INVALID ) if( pn != PLAYER_INVALID )
{ {
m_MusicWheel.Move( 0 );
m_OptionsList[pn].Open(); m_OptionsList[pn].Open();
} }
} }