start changing Lua to a singleton object

This commit is contained in:
Glenn Maynard
2005-01-19 22:27:24 +00:00
parent 048ff316e7
commit 91a6486f9e
8 changed files with 60 additions and 51 deletions
+2 -2
View File
@@ -42,7 +42,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( !LUA->RunExpressionB( expr ) )
return;
}
}
@@ -70,7 +70,7 @@ void BGAnimation::AddLayersFromAniDir( const CString &_sAniDir, const IniFile& i
CString expr;
if( pKey->GetAttrValue("Condition",expr) )
{
if( !Lua::RunExpressionB( expr ) )
if( !LUA->RunExpressionB( expr ) )
continue;
}