Cleanup.
This commit is contained in:
@@ -165,8 +165,7 @@ bool DWILoader::LoadFromDWITokens(
|
|||||||
g_mapDanceNoteToNoteDataColumn[DANCE_NOTE_PAD1_UPRIGHT] = 4;
|
g_mapDanceNoteToNoteDataColumn[DANCE_NOTE_PAD1_UPRIGHT] = 4;
|
||||||
g_mapDanceNoteToNoteDataColumn[DANCE_NOTE_PAD1_RIGHT] = 5;
|
g_mapDanceNoteToNoteDataColumn[DANCE_NOTE_PAD1_RIGHT] = 5;
|
||||||
break;
|
break;
|
||||||
default:
|
DEFAULT_FAIL( out.m_StepsType );
|
||||||
ASSERT(0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int iNumFeet = atoi(sNumFeet);
|
int iNumFeet = atoi(sNumFeet);
|
||||||
@@ -190,8 +189,7 @@ bool DWILoader::LoadFromDWITokens(
|
|||||||
continue; // skip
|
continue; // skip
|
||||||
sStepData = sStepData2;
|
sStepData = sStepData2;
|
||||||
break;
|
break;
|
||||||
default:
|
DEFAULT_FAIL( pad );
|
||||||
ASSERT( false );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sStepData.Replace("\n", "");
|
sStepData.Replace("\n", "");
|
||||||
@@ -337,7 +335,8 @@ bool DWILoader::LoadFromDWITokens(
|
|||||||
* or milliseconds. */
|
* or milliseconds. */
|
||||||
float DWILoader::ParseBrokenDWITimestamp(const RString &arg1, const RString &arg2, const RString &arg3)
|
float DWILoader::ParseBrokenDWITimestamp(const RString &arg1, const RString &arg2, const RString &arg3)
|
||||||
{
|
{
|
||||||
if(arg1.empty()) return 0;
|
if( arg1.empty() )
|
||||||
|
return 0;
|
||||||
|
|
||||||
/* 1+ args */
|
/* 1+ args */
|
||||||
if( arg2.empty() )
|
if( arg2.empty() )
|
||||||
|
|||||||
Reference in New Issue
Block a user