run autosync before the game mapping; cleanup

This commit is contained in:
Glenn Maynard
2005-02-07 06:06:51 +00:00
parent efd190316d
commit 4e51acd2f6
+3 -4
View File
@@ -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;