[ScreenOptionsMasterPrefs] Added new item in NumBackgrounds

This commit is contained in:
sillybear
2016-05-18 05:37:22 +08:00
parent fe599ce452
commit f7cfa2ac91
+2 -2
View File
@@ -401,7 +401,7 @@ static void BGBrightnessOrStatic( int &sel, bool ToSel, const ConfOption *pConfO
static void NumBackgrounds( int &sel, bool ToSel, const ConfOption *pConfOption )
{
const int mapping[] = { 5,10,15,20 };
const int mapping[] = { 1,5,10,15,20 };
MoveMap( sel, pConfOption, ToSel, mapping, ARRAYLEN(mapping) );
}
@@ -776,7 +776,7 @@ static void InitializeConfOptions()
ADD( ConfOption( "ShowDanger", MovePref<bool>, "Hide","Show" ) );
ADD( ConfOption( "ShowDancingCharacters", MovePref<ShowDancingCharacters>, "Default to Off","Default to Random","Select" ) );
ADD( ConfOption( "ShowBeginnerHelper", MovePref<bool>, "Off","On" ) );
ADD( ConfOption( "NumBackgrounds", NumBackgrounds, "|5","|10","|15","|20" ) );
ADD( ConfOption( "NumBackgrounds", NumBackgrounds, "|1","|5","|10","|15","|20" ) );
// Input options
ADD( ConfOption( "AutoMapOnJoyChange", MovePref<bool>, "Off","On (recommended)" ) );