From 48975f7f1dadf582c642b0ef94b5c00c82a10803 Mon Sep 17 00:00:00 2001 From: "Devin J. Pohly" Date: Thu, 29 Aug 2013 17:04:22 -0400 Subject: [PATCH] fix visual glitch on autoplay rolls When there were tap notes on the same row as the start of a roll, autoplaying the roll would result in the receptors on other tracks to glow. This was because the Step() call would use the roll's head row for a parameter, which included the other notes. This changes that parameter to -1 to automatically use the current row in the song, which makes more sense anyway. Fixes bug 241. --- src/Player.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Player.cpp b/src/Player.cpp index e8fd8ad661..a5099b3553 100644 --- a/src/Player.cpp +++ b/src/Player.cpp @@ -963,7 +963,8 @@ void Player::Update( float fDeltaTime ) if( tn.HoldResult.fLife >= 0.5f ) continue; - Step( iTrack, iHeadRow, now, false, false ); + // This handles any roll steps beyond the first. + Step( iTrack, -1, now, false, false ); if( m_pPlayerState->m_PlayerController == PC_AUTOPLAY ) { STATSMAN->m_CurStageStats.m_bUsedAutoplay = true;