accept "Condition"

This commit is contained in:
Glenn Maynard
2004-05-29 20:18:51 +00:00
parent 5bb3d0f72b
commit 01970b2eb2
+1 -1
View File
@@ -69,7 +69,7 @@ void AddLayersFromAniDir( CString sAniDir, vector<Actor*> &layersAddTo, bool Gen
{
CString expr;
if( ini.GetValue( "BGAnimation", "Cond", expr ) )
if( ini.GetValue( "BGAnimation", "Condition", expr ) || ini.GetValue( "BGAnimation", "Cond", expr ) )
{
if( !Lua::RunExpression( expr ) )
return;