Blind modifier fix (ghost arrow row was still showing judgement colors while blind was on)
This commit is contained in:
@@ -2064,9 +2064,17 @@ done_checking_hopo:
|
|||||||
{
|
{
|
||||||
const bool bBlind = (m_pPlayerState->m_PlayerOptions.GetCurrent().m_fBlind != 0);
|
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.
|
// 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 )
|
if( m_pNoteField )
|
||||||
|
{
|
||||||
|
/* 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 );
|
m_pNoteField->DidTapNote( col, score, bBright );
|
||||||
|
}
|
||||||
if( score >= TNS_W3 || bBlind )
|
if( score >= TNS_W3 || bBlind )
|
||||||
HideNote( col, iRowOfOverlappingNoteOrRow );
|
HideNote( col, iRowOfOverlappingNoteOrRow );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user