allow At expression in Condition
This commit is contained in:
@@ -117,6 +117,7 @@ Actor* ActorUtil::LoadFromActorFile( const CString& sDir, const XNode* pNode )
|
|||||||
CString expr;
|
CString expr;
|
||||||
if( pNode->GetAttrValue("Condition",expr) )
|
if( pNode->GetAttrValue("Condition",expr) )
|
||||||
{
|
{
|
||||||
|
LuaHelpers::RunAtExpressionS( expr );
|
||||||
if( !LuaHelpers::RunExpressionB(expr) )
|
if( !LuaHelpers::RunExpressionB(expr) )
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user