SortSongByDifficulty now falls back to sort by title is easiest difficulties match. Cleanup of NoteSkin graphics.

This commit is contained in:
Chris Danford
2002-10-02 01:32:43 +00:00
parent 49f21f16e3
commit 638337c539
4 changed files with 27 additions and 27 deletions
+1 -1
View File
@@ -422,7 +422,7 @@ void Player::Step( int col )
for( i=0; i<SAMPLE_COUNT; i++ )
stddev += (m_fOffset[i] - mean) * (m_fOffset[i] - mean);
stddev /= SAMPLE_COUNT + 1; //yes, N+1. Really.
stddev = sqrt(stddev);
stddev = sqrtf(stddev);
if (stddev < .03 && stddev < fabsf(mean)) { //If they stepped with less than .025 error
GAMESTATE->m_pCurSong->m_fBeat0OffsetInSeconds += mean;