empty meter fixes for DWI/KSF; KSF is more of a 'it used to be 0, now it's 1' thing

This commit is contained in:
AJ Kelly
2011-10-07 12:48:21 -05:00
parent 16dab959bf
commit 3e56caf1b1
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -426,10 +426,14 @@ static bool LoadFromDWITokens(
out.m_StepsType = GetTypeFromMode(sMode);
// if the meter is empty, force it to 1.
if( sNumFeet.empty() )
sNumFeet = "1";
out.SetMeter(StringToInt(sNumFeet));
out.SetDifficulty( DwiCompatibleStringToDifficulty(sDescription) );
out.SetNoteData( ParseNoteData(sStepData1, sStepData2, out, sPath) );
out.TidyUpData();