diff --git a/stepmania/src/NotesLoaderDWI.cpp b/stepmania/src/NotesLoaderDWI.cpp index 60d08adf85..c0684ca696 100644 --- a/stepmania/src/NotesLoaderDWI.cpp +++ b/stepmania/src/NotesLoaderDWI.cpp @@ -39,7 +39,7 @@ void DWILoader::DWIcharToNote( char c, GameController i, DanceNote ¬e1Out, Da case 'L': note1Out = DANCE_NOTE_PAD1_UPRIGHT; note2Out = DANCE_NOTE_PAD1_RIGHT; break; case 'M': note1Out = DANCE_NOTE_PAD1_UPLEFT; note2Out = DANCE_NOTE_PAD1_UPRIGHT; break; default: - LOG->Warn( "Encountered invalid DWI note characer '%c'", c ); + LOG->Warn( "Encountered invalid DWI note character '%c'", c ); note1Out = DANCE_NOTE_NONE; note2Out = DANCE_NOTE_NONE; break; } @@ -149,6 +149,8 @@ bool DWILoader::LoadFromDWITokens( ASSERT( false ); } + sStepData.Replace("\t", ""); + double fCurrentBeat = 0; double fCurrentIncrementer = 1.0/8 * BEATS_PER_MEASURE;