From e274d0f56962ce187e25da1040668217b2e3a781 Mon Sep 17 00:00:00 2001 From: Charles Lohr Date: Sun, 13 Feb 2005 07:27:25 +0000 Subject: [PATCH] Fix: Marvelous timing in menus. Note: We didn't notice this bug because if we don't edit it, it will remain at 2. --- stepmania/src/ScreenOptionsMasterPrefs.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/stepmania/src/ScreenOptionsMasterPrefs.cpp b/stepmania/src/ScreenOptionsMasterPrefs.cpp index 35a8961c88..acb4949d7c 100644 --- a/stepmania/src/ScreenOptionsMasterPrefs.cpp +++ b/stepmania/src/ScreenOptionsMasterPrefs.cpp @@ -281,11 +281,16 @@ static void WheelSpeed( int &sel, bool ToSel, const ConfOption *pConfOption ) /* Gameplay options */ MOVE( SoloSingles, PREFSMAN->m_bSoloSingle ); MOVE( EasterEggs, PREFSMAN->m_bEasterEggs ); -MOVE( MarvelousTiming, PREFSMAN->m_iMarvelousTiming ); MOVE( AllowExtraStage, PREFSMAN->m_bAllowExtraStage ); MOVE( PickExtraStage, PREFSMAN->m_bPickExtraStage ); MOVE( UnlockSystem, PREFSMAN->m_bUseUnlockSystem ); +static void MarvelousTiming( int &sel, bool ToSel, const ConfOption *pConfOption ) +{ + const int mapping[] = { 0, 1, 2 }; + MoveMap( sel, PREFSMAN->m_iMarvelousTiming, ToSel, mapping, ARRAYSIZE(mapping) ); +} + static void CoinModeM( int &sel, bool ToSel, const ConfOption *pConfOption ) { const CoinMode mapping[] = { COIN_HOME, COIN_PAY, COIN_FREE };