From 4e51acd2f6b1337d206e583cb30284f171ff8a16 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 7 Feb 2005 06:06:51 +0000 Subject: [PATCH] run autosync before the game mapping; cleanup --- stepmania/src/Player.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/stepmania/src/Player.cpp b/stepmania/src/Player.cpp index c8c0d69c60..67aa79604f 100644 --- a/stepmania/src/Player.cpp +++ b/stepmania/src/Player.cpp @@ -859,6 +859,9 @@ void Player::Step( int col, const RageTimer &tm ) m_pPlayerStageStats->iTotalError += ms_error; } + if( m_pPlayerState->m_PlayerController == PC_HUMAN && score >= TNS_GREAT ) + HandleAutosync( fNoteOffset ); + if( score == TNS_MARVELOUS && !GAMESTATE->ShowMarvelous() ) score = TNS_PERFECT; @@ -874,10 +877,6 @@ void Player::Step( int col, const RageTimer &tm ) m_NoteData.SetTapNote( col, iIndexOverlappingNote, tn ); - if( m_pPlayerState->m_PlayerController == PC_HUMAN && - score >= TNS_GREAT ) - HandleAutosync(fNoteOffset); - // TODO: Remove use of PlayerNumber. PlayerNumber pn = m_pPlayerState->m_PlayerNumber;