remove "Cond"

This commit is contained in:
Glenn Maynard
2005-08-31 19:56:46 +00:00
parent 0a0ad9eb54
commit dc40ed8f64
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -375,7 +375,7 @@ void BGAnimationLayer::LoadFromNode( const CString& sDir, const XNode* pNode )
{
CString expr;
if( pNode->GetAttrValue("Cond",expr) || pNode->GetAttrValue("Condition",expr) )
if( pNode->GetAttrValue("Condition", expr) )
{
if( !LuaHelpers::RunExpressionB(expr) )
return;