From a3b38117b5614bd2ad026b605bb4bc81a7863579 Mon Sep 17 00:00:00 2001 From: sigatrev Date: Sun, 20 Apr 2014 14:27:43 -0500 Subject: [PATCH] make early judgments broadcast when judgment is triggered judgments triggered early were not broadcasting the judgment message until their row crossed --- src/Player.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Player.cpp b/src/Player.cpp index 1e4618b464..dff7d2307e 100644 --- a/src/Player.cpp +++ b/src/Player.cpp @@ -2759,7 +2759,8 @@ void Player::UpdateTapNotesMissedOlderThan( float fMissIfOlderThanSeconds ) void Player::UpdateJudgedRows() { - const int iEndRow = BeatToNoteRow( m_pPlayerState->m_Position.m_fSongBeat ); + // Look ahead far enough to catch any rows judged early. + const int iEndRow = BeatToNoteRow( m_Timing->GetBeatFromElapsedTime( m_pPlayerState->m_Position.m_fMusicSeconds + GetMaxStepDistanceSeconds() ) ); bool bAllJudged = true; const bool bSeparately = GAMESTATE->GetCurrentGame()->m_bCountNotesSeparately;