Blind modifier fix (ghost arrow row was still showing judgement colors while blind was on)

This commit is contained in:
Mike Hawkins
2008-05-30 01:13:55 +00:00
parent 25b13dfcdf
commit 067c6a021e
+10 -2
View File
@@ -2064,9 +2064,17 @@ done_checking_hopo:
{
const bool bBlind = (m_pPlayerState->m_PlayerOptions.GetCurrent().m_fBlind != 0);
// XXX This is the wrong combo for shared players. STATSMAN->m_CurStageStats.m_Player[pn] might work but could be wrong.
const bool bBright = m_pPlayerStageStats && m_pPlayerStageStats->m_iCurCombo > int(BRIGHT_GHOST_COMBO_THRESHOLD) || bBlind;
const bool bBright = m_pPlayerStageStats && m_pPlayerStageStats->m_iCurCombo > int(BRIGHT_GHOST_COMBO_THRESHOLD);
if( m_pNoteField )
m_pNoteField->DidTapNote( col, score, bBright );
{
/* We need to make sure all notes have the same ghost row score if blind is on,
* otherwise you can still tell what the score on the note was if the flash is
* color coded to match the score */
if( bBlind)
m_pNoteField->DidTapNote( col, TNS_W1, bBright );
else
m_pNoteField->DidTapNote( col, score, bBright );
}
if( score >= TNS_W3 || bBlind )
HideNote( col, iRowOfOverlappingNoteOrRow );
}