LuaHelpers::RunExpressionB

This commit is contained in:
Glenn Maynard
2005-06-16 06:23:59 +00:00
parent 914acb4b7b
commit 6a8940d5a4
6 changed files with 16 additions and 8 deletions
+2 -2
View File
@@ -45,7 +45,7 @@ void BGAnimation::AddLayersFromAniDir( const CString &_sAniDir, const IniFile& i
CString expr;
if( ini.GetValue( "BGAnimation", "Condition", expr ) || ini.GetValue( "BGAnimation", "Cond", expr ) )
{
if( !LUA->RunExpressionB( expr ) )
if( !LuaHelpers::RunExpressionB( expr ) )
return;
}
}
@@ -73,7 +73,7 @@ void BGAnimation::AddLayersFromAniDir( const CString &_sAniDir, const IniFile& i
CString expr;
if( pKey->GetAttrValue("Condition",expr) )
{
if( !LUA->RunExpressionB( expr ) )
if( !LuaHelpers::RunExpressionB( expr ) )
continue;
}