diff --git a/stepmania/src/ScreenOptionsMasterPrefs.cpp b/stepmania/src/ScreenOptionsMasterPrefs.cpp index dc8a1bbd9b..7bc8e44066 100644 --- a/stepmania/src/ScreenOptionsMasterPrefs.cpp +++ b/stepmania/src/ScreenOptionsMasterPrefs.cpp @@ -95,7 +95,7 @@ static void MoveMap( int &sel, IPreference &opt, bool ToSel, const T *mapping, u template static void MoveMap( int &sel, const ConfOption *pConfOption, bool ToSel, const T *mapping, unsigned cnt ) { - IPreference *pPref = PREFSMAN->GetPreferenceByName( pConfOption->name ); + IPreference *pPref = IPreference::GetPreferenceByName( pConfOption->name ); ASSERT_M( pPref != NULL, pConfOption->name ); MoveMap( sel, *pPref, ToSel, mapping, cnt ); @@ -104,7 +104,7 @@ static void MoveMap( int &sel, const ConfOption *pConfOption, bool ToSel, const /* "iSel" is the selection in the menu. */ static void MovePref( int &iSel, bool bToSel, const ConfOption *pConfOption ) { - IPreference *pPref = PREFSMAN->GetPreferenceByName( pConfOption->name ); + IPreference *pPref = IPreference::GetPreferenceByName( pConfOption->name ); ASSERT_M( pPref != NULL, pConfOption->name ); if( bToSel )