diff --git a/stepmania/src/Player.cpp b/stepmania/src/Player.cpp index 9dfaed9e0d..1089293882 100644 --- a/stepmania/src/Player.cpp +++ b/stepmania/src/Player.cpp @@ -215,13 +215,31 @@ void Player::SetX( float fX ) } -void Player::SetSteps( const Steps& newSteps ) +void Player::SetSteps( const Steps& newSteps, bool bLoadOnlyLeftSide, bool bLoadOnlyRightSide ) { - for( int i=0; i& arra void Song::GetNumFeet( GameMode gm, int& iDiffEasyOut, int& iDiffMediumOut, int& iDiffHardOut ) { - iDiffEasyOut = iDiffMediumOut = iDiffHardOut = -1; + iDiffEasyOut = iDiffMediumOut = iDiffHardOut = -1; // -1 means not found CArray arrayMatchingSteps; GetStepsThatMatchGameMode( gm, arrayMatchingSteps ); - //bool bFoundEasy, bFoundMedium, bFoundHard; - //bFoundEasy = bFoundMedium = bFoundHard = false; - for( int i=0; im_iNumFeet; @@ -447,7 +444,7 @@ void Song::GetNumFeet( GameMode gm, int& iDiffEasyOut, int& iDiffMediumOut, int& iDiffEasyOut = iNumFeet; else if( iDiffHardOut < 0 && iNumFeet >= 7 ) iDiffHardOut = iNumFeet; - else + else if( iDiffMediumOut < 0 ) iDiffMediumOut = iNumFeet; break; } diff --git a/stepmania/src/StepMania.dsp b/stepmania/src/StepMania.dsp index d5715fda2c..6c3b0f44be 100644 --- a/stepmania/src/StepMania.dsp +++ b/stepmania/src/StepMania.dsp @@ -43,7 +43,7 @@ RSC=rc.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /GB /MT /W3 /GX /O2 /Ob1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /FR /YX /FD /c +# ADD CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /FR /YX /FD /c # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 # ADD BASE RSC /l 0x409 /d "NDEBUG"