fix harmless warnings when dwi files contain tabs

This commit is contained in:
Glenn Maynard
2003-01-27 01:58:24 +00:00
parent 61c8b2fcd5
commit 8870fa3044
+3 -1
View File
@@ -39,7 +39,7 @@ void DWILoader::DWIcharToNote( char c, GameController i, DanceNote &note1Out, 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;