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:
+1
-1
@@ -1788,7 +1788,7 @@ void GameState::GetRankingFeats( PlayerNumber pn, vector<RankingFeat> &asFeatsOu
|
||||
}
|
||||
break;
|
||||
default:
|
||||
FAIL_M(ssprintf("Invalid play mode: %i", m_PlayMode));
|
||||
FAIL_M(ssprintf("Invalid play mode: %i", int(m_PlayMode)));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1905,6 +1905,7 @@ void ScreenSelectMusic::OpenOptionsList(PlayerNumber pn)
|
||||
{
|
||||
if( pn != PLAYER_INVALID )
|
||||
{
|
||||
m_MusicWheel.Move( 0 );
|
||||
m_OptionsList[pn].Open();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user