Fix warnings.
This commit is contained in:
@@ -102,7 +102,7 @@ void DWILoader::DWIcharToNoteCol( char c, GameController i, int &col1Out, int &c
|
||||
* it's most likely a jump. Search for a 0 before the next >: */
|
||||
bool DWILoader::Is192( const CString &sStepData, size_t pos )
|
||||
{
|
||||
while( pos < (int) sStepData.size() )
|
||||
while( pos < sStepData.size() )
|
||||
{
|
||||
if( sStepData[pos] == '>' )
|
||||
return false;
|
||||
|
||||
@@ -127,7 +127,7 @@ bool KSFLoader::LoadFromKSFFile( const CString &sPath, Steps &out, const Song &s
|
||||
out.m_StepsType = STEPS_TYPE_PUMP_SINGLE;
|
||||
|
||||
/* Check for "halfdouble" before "double". */
|
||||
if( sFName.find("halfdouble") != -1 || sFName.find("h_double") != string::npos )
|
||||
if( sFName.find("halfdouble") != string::npos || sFName.find("h_double") != string::npos )
|
||||
out.m_StepsType = STEPS_TYPE_PUMP_HALFDOUBLE;
|
||||
else if( sFName.find("double") != string::npos )
|
||||
out.m_StepsType = STEPS_TYPE_PUMP_DOUBLE;
|
||||
|
||||
Reference in New Issue
Block a user