fix harmless warnings when dwi files contain tabs
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user