diff --git a/stepmania/src/Background.cpp b/stepmania/src/Background.cpp index 16767a68b4..970b91fb31 100644 --- a/stepmania/src/Background.cpp +++ b/stepmania/src/Background.cpp @@ -202,7 +202,7 @@ CString Background::CreateRandomBGA() switch( PREFSMAN->m_iBackgroundMode ) { default: - FAIL_M( ssprintf("Invalid BackgroundMode: %d", PREFSMAN->m_iBackgroundMode.GetValue()) ); + FAIL_M( ssprintf("Invalid BackgroundMode: %i", (int)PREFSMAN->m_iBackgroundMode) ); break; case PrefsManager::BGMODE_ANIMATIONS: diff --git a/stepmania/src/Preference.h b/stepmania/src/Preference.h index 98b03bd024..386234fac5 100644 --- a/stepmania/src/Preference.h +++ b/stepmania/src/Preference.h @@ -71,11 +71,6 @@ public: return m_currentValue; } - T GetValue() const - { - return m_currentValue; - } - void operator=( const T& other ) { m_currentValue = other;