if using a handicap option, don't add a high score and show "disqualify" on the eval screen

This commit is contained in:
Chris Danford
2004-03-09 08:19:55 +00:00
parent 9f3ae0c820
commit d0356d78fa
8 changed files with 133 additions and 78 deletions
+8
View File
@@ -829,6 +829,14 @@ void GameState::RestoreSelectedOptions()
m_SongOptions = m_StoredSongOptions;
}
bool GameState::IsDisqualified( PlayerNumber pn )
{
if( GAMESTATE->IsCourseMode() )
return GAMESTATE->m_PlayerOptions[pn].IsHandicapForCourse( GAMESTATE->m_pCurCourse );
else
return GAMESTATE->m_PlayerOptions[pn].IsHandicapForSong( GAMESTATE->m_pCurSong );
}
void GameState::ResetNoteSkins()
{
for( int pn = 0; pn < NUM_PLAYERS; ++pn )