Fixed super shuffle generating impossible HoldNote patterns.

This commit is contained in:
Chris Danford
2002-10-20 21:39:13 +00:00
parent fedb7b0c92
commit 6674d2a9a1
4 changed files with 55 additions and 35 deletions
+4 -2
View File
@@ -410,9 +410,11 @@ void Player::Step( int col )
bDestroyedNote = (score >= TNS_GOOD);
LOG->Trace("(%2d/%2d)Note offset: %f, Score: %i", m_iOffsetSample, SAMPLE_COUNT, fNoteOffset, score);
if (GAMESTATE->m_SongOptions.m_AutoAdjust == SongOptions::ADJUST_ON) {
if (GAMESTATE->m_SongOptions.m_AutoAdjust == SongOptions::ADJUST_ON)
{
m_fOffset[m_iOffsetSample++] = fNoteOffset;
if (m_iOffsetSample >= SAMPLE_COUNT) {
if (m_iOffsetSample >= SAMPLE_COUNT)
{
float stddev = 0.0f, mean = 0.0f;
int i;