From: Glenn M. <gma...@us...> - 2005-08-31 19:56:55
|
Update of /cvsroot/stepmania/stepmania/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7536 Modified Files: BGAnimation.cpp BGAnimationLayer.cpp Log Message: remove "Cond" Index: BGAnimationLayer.cpp =================================================================== RCS file: /cvsroot/stepmania/stepmania/src/BGAnimationLayer.cpp,v retrieving revision 1.162 retrieving revision 1.163 diff -u -d -p -r1.162 -r1.163 --- BGAnimationLayer.cpp 25 Aug 2005 00:57:53 -0000 1.162 +++ BGAnimationLayer.cpp 31 Aug 2005 19:56:46 -0000 1.163 @@ -375,7 +375,7 @@ void BGAnimationLayer::LoadFromNode( con { CString expr; - if( pNode->GetAttrValue("Cond",expr) || pNode->GetAttrValue("Condition",expr) ) + if( pNode->GetAttrValue("Condition", expr) ) { if( !LuaHelpers::RunExpressionB(expr) ) return; Index: BGAnimation.cpp =================================================================== RCS file: /cvsroot/stepmania/stepmania/src/BGAnimation.cpp,v retrieving revision 1.96 retrieving revision 1.97 diff -u -d -p -r1.96 -r1.97 --- BGAnimation.cpp 27 Jun 2005 05:24:23 -0000 1.96 +++ BGAnimation.cpp 31 Aug 2005 19:56:46 -0000 1.97 @@ -43,7 +43,7 @@ void BGAnimation::AddLayersFromAniDir( c { CString expr; - if( ini.GetValue( "BGAnimation", "Condition", expr ) || ini.GetValue( "BGAnimation", "Cond", expr ) ) + if( ini.GetValue("BGAnimation", "Condition", expr) ) { if( !LuaHelpers::RunExpressionB( expr ) ) return; |