From e15d1da6b7c60a9d5c8c0325800f93fe39a20407 Mon Sep 17 00:00:00 2001 From: Sean Burke Date: Sat, 4 Dec 2004 20:44:02 +0000 Subject: [PATCH] Revert and fix a bit better. --- stepmania/src/Background.cpp | 2 +- stepmania/src/Preference.h | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) 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;