special case no longer needed

This commit is contained in:
Glenn Maynard
2006-10-11 01:29:15 +00:00
parent a55e52e0d8
commit 00d1fc742c
-2
View File
@@ -951,13 +951,11 @@ void ThemeManager::PushMetric( Lua *L, const RString &sClassName, const RString
RString sValue = GetMetricRaw( g_pLoadedThemeData->iniMetrics, sClassName, sValueName ); RString sValue = GetMetricRaw( g_pLoadedThemeData->iniMetrics, sClassName, sValueName );
RString sName = ssprintf( "%s::%s", sClassName.c_str(), sValueName.c_str() ); RString sName = ssprintf( "%s::%s", sClassName.c_str(), sValueName.c_str() );
#if !defined(SMPACKAGE)
if( EndsWith(sValueName, "Command") ) if( EndsWith(sValueName, "Command") )
{ {
LuaHelpers::ParseCommandList( L, sValue, sName ); LuaHelpers::ParseCommandList( L, sValue, sName );
} }
else else
#endif
{ {
LuaHelpers::PrepareExpression( sValue ); LuaHelpers::PrepareExpression( sValue );
LuaHelpers::RunExpression( L, sValue, sName ); LuaHelpers::RunExpression( L, sValue, sName );