Fixed autoplay on rolls bug by not flashing ghost row on a hidden note.

This commit is contained in:
Kyzentun Keeslala
2016-06-26 15:50:25 -06:00
parent a2337b7f01
commit 6634f7de04
+8 -1
View File
@@ -2652,12 +2652,19 @@ void Player::FlashGhostRow( int iRow )
{
const TapNote &tn = m_NoteData.GetTapNote( iTrack, iRow );
if( tn.type == TapNoteType_Empty || tn.type == TapNoteType_Mine || tn.type == TapNoteType_Fake )
if(tn.type == TapNoteType_Empty || tn.type == TapNoteType_Mine ||
tn.type == TapNoteType_Fake || tn.result.bHidden)
{
continue;
}
if( m_pNoteField )
{
m_pNoteField->DidTapNote( iTrack, lastTNS, bBright );
}
if( lastTNS >= m_pPlayerState->m_PlayerOptions.GetCurrent().m_MinTNSToHideNotes || bBlind )
{
HideNote( iTrack, iRow );
}
}
}