Fixing conditional for bBright variable; missing check for bBlind

This commit is contained in:
Mike Hawkins
2008-05-30 03:01:17 +00:00
parent 967d468fbb
commit fc73f81240
+1 -1
View File
@@ -2064,7 +2064,7 @@ 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);
const bool bBright = m_pPlayerStageStats && m_pPlayerStageStats->m_iCurCombo > int(BRIGHT_GHOST_COMBO_THRESHOLD) || bBlind;
if( m_pNoteField )
m_pNoteField->DidTapNote( col, bBlind? TNS_W1:score, bBright );
if( score >= TNS_W3 || bBlind )