Added mod for MinTNSToHideNote so it can be set per-player.

This commit is contained in:
Kyzentun
2014-11-22 14:55:44 -07:00
parent 040c0de509
commit 4e5a2ade73
3 changed files with 11 additions and 3 deletions
+2 -2
View File
@@ -2563,7 +2563,7 @@ void Player::StepStrumHopo( int col, int row, const RageTimer &tm, bool bHeld, b
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 >= PREFSMAN->m_MinTNSToHideNotes || bBlind )
if( score >= m_pPlayerState->m_PlayerOptions.GetCurrent().m_MinTNSToHideNotes || bBlind )
HideNote( col, iRowOfOverlappingNoteOrRow );
}
}
@@ -2909,7 +2909,7 @@ void Player::FlashGhostRow( int iRow )
continue;
if( m_pNoteField )
m_pNoteField->DidTapNote( iTrack, lastTNS, bBright );
if( lastTNS >= PREFSMAN->m_MinTNSToHideNotes || bBlind )
if( lastTNS >= m_pPlayerState->m_PlayerOptions.GetCurrent().m_MinTNSToHideNotes || bBlind )
HideNote( iTrack, iRow );
}
}