From ca1f7e5893fd3ab7e78fcafc60a00fef70729b46 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Wed, 23 Feb 2005 22:11:33 +0000 Subject: [PATCH] hush --- stepmania/src/ThemeManager.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/stepmania/src/ThemeManager.cpp b/stepmania/src/ThemeManager.cpp index 1ddf0a94ea..cfd1c1e878 100644 --- a/stepmania/src/ThemeManager.cpp +++ b/stepmania/src/ThemeManager.cpp @@ -696,16 +696,6 @@ float ThemeManager::GetMetricF( const CString &sClassName, const CString &sValue { CString sValue = GetMetric( sClassName, sValueName ); // Use non-raw so that Lua expressions are allowed -#if defined(DEBUG) - if( sValueName.Right(1) == "X" || sValueName.Right(1) == "Y" ) // an absolute X or Y position - { - if( isdigit(sValue[0]) && sValue.Find('-') == -1 && sValue.Find('+') == -1 ) - { - LOG->Warn( "Absolute position metric '%s'-'%s' should contain a SCREEN_* constant", sClassName.c_str(), sValueName.c_str() ); - } - } -#endif - LUA->PrepareExpression( sValue ); return LUA->RunExpressionF( sValue );