allow At expression in Condition

This commit is contained in:
Chris Danford
2005-07-25 07:41:23 +00:00
parent fd8e1e61a7
commit 79ceb5b0cf
+1
View File
@@ -117,6 +117,7 @@ Actor* ActorUtil::LoadFromActorFile( const CString& sDir, const XNode* pNode )
CString expr;
if( pNode->GetAttrValue("Condition",expr) )
{
LuaHelpers::RunAtExpressionS( expr );
if( !LuaHelpers::RunExpressionB(expr) )
return NULL;
}