From 6634f7de0475c2f07250b9dc303bbd88368d0300 Mon Sep 17 00:00:00 2001 From: Kyzentun Keeslala Date: Sun, 26 Jun 2016 15:50:25 -0600 Subject: [PATCH] Fixed autoplay on rolls bug by not flashing ghost row on a hidden note. --- src/Player.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/Player.cpp b/src/Player.cpp index b29eeb22da..c0d3519f9a 100644 --- a/src/Player.cpp +++ b/src/Player.cpp @@ -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 ); + } } }