Fix warning.
This commit is contained in:
@@ -26,8 +26,9 @@
|
|||||||
|
|
||||||
static void SelectExactlyOne( int iSelection, vector<bool> &vbSelectedOut )
|
static void SelectExactlyOne( int iSelection, vector<bool> &vbSelectedOut )
|
||||||
{
|
{
|
||||||
ASSERT_M( iSelection >= 0 && iSelection < (int) vbSelectedOut.size(), ssprintf("%d/%u",iSelection,vbSelectedOut.size()) );
|
ASSERT_M( iSelection >= 0 && iSelection < (int) vbSelectedOut.size(),
|
||||||
for( int i=0; i<(int)vbSelectedOut.size(); i++ )
|
ssprintf("%d/%u",iSelection, unsigned(vbSelectedOut.size())) );
|
||||||
|
for( int i=0; i<int(vbSelectedOut.size()); i++ )
|
||||||
vbSelectedOut[i] = i==iSelection;
|
vbSelectedOut[i] = i==iSelection;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -141,9 +141,9 @@ PrefsManager::PrefsManager() :
|
|||||||
m_iPercentScoreWeightGood ( Options, "PercentScoreWeightGood", 0 ),
|
m_iPercentScoreWeightGood ( Options, "PercentScoreWeightGood", 0 ),
|
||||||
m_iPercentScoreWeightBoo ( Options, "PercentScoreWeightBoo", 0 ),
|
m_iPercentScoreWeightBoo ( Options, "PercentScoreWeightBoo", 0 ),
|
||||||
m_iPercentScoreWeightMiss ( Options, "PercentScoreWeightMiss", 0 ),
|
m_iPercentScoreWeightMiss ( Options, "PercentScoreWeightMiss", 0 ),
|
||||||
|
m_iPercentScoreWeightHitMine ( Options, "PercentScoreWeightHitMine", -2 ),
|
||||||
m_iPercentScoreWeightOK ( Options, "PercentScoreWeightOK", 3 ),
|
m_iPercentScoreWeightOK ( Options, "PercentScoreWeightOK", 3 ),
|
||||||
m_iPercentScoreWeightNG ( Options, "PercentScoreWeightNG", 0 ),
|
m_iPercentScoreWeightNG ( Options, "PercentScoreWeightNG", 0 ),
|
||||||
m_iPercentScoreWeightHitMine ( Options, "PercentScoreWeightHitMine", -2 ),
|
|
||||||
|
|
||||||
m_iGradeWeightMarvelous ( Options, "GradeWeightMarvelous", 2 ),
|
m_iGradeWeightMarvelous ( Options, "GradeWeightMarvelous", 2 ),
|
||||||
m_iGradeWeightPerfect ( Options, "GradeWeightPerfect", 2 ),
|
m_iGradeWeightPerfect ( Options, "GradeWeightPerfect", 2 ),
|
||||||
@@ -179,8 +179,8 @@ PrefsManager::PrefsManager() :
|
|||||||
m_bAutoPlay ( Options, "AutoPlay", false ),
|
m_bAutoPlay ( Options, "AutoPlay", false ),
|
||||||
m_bDelayedBack ( Options, "DelayedBack", true ),
|
m_bDelayedBack ( Options, "DelayedBack", true ),
|
||||||
m_bShowInstructions ( Options, "ShowInstructions", true ),
|
m_bShowInstructions ( Options, "ShowInstructions", true ),
|
||||||
m_bShowCaution ( Options, "ShowCaution", true ),
|
|
||||||
m_bShowSelectGroup ( Options, "ShowSelectGroup", true ),
|
m_bShowSelectGroup ( Options, "ShowSelectGroup", true ),
|
||||||
|
m_bShowCaution ( Options, "ShowCaution", true ),
|
||||||
m_bShowNativeLanguage ( Options, "ShowNativeLanguage", true ),
|
m_bShowNativeLanguage ( Options, "ShowNativeLanguage", true ),
|
||||||
m_bArcadeOptionsNavigation ( Options, "ArcadeOptionsNavigation", false ),
|
m_bArcadeOptionsNavigation ( Options, "ArcadeOptionsNavigation", false ),
|
||||||
m_MusicWheelUsesSections ( Options, "MusicWheelUsesSections", ALWAYS ),
|
m_MusicWheelUsesSections ( Options, "MusicWheelUsesSections", ALWAYS ),
|
||||||
|
|||||||
Reference in New Issue
Block a user