BGAnimations layer numbers need not be consecutive

This commit is contained in:
Chris Danford
2003-04-13 03:03:01 +00:00
parent 76815a8242
commit 6c07fd4d68
+1 -1
View File
@@ -69,7 +69,7 @@ void BGAnimation::LoadFromAniDir( CString sAniDir )
ini.GetValueF( "BGAnimation", "LengthSeconds", m_fLengthSeconds );
unsigned i;
for( i=0; MAX_LAYERS; i++ )
for( i=0; i<MAX_LAYERS; i++ )
{
CString sLayer = ssprintf("Layer%d",i+1);
const IniFile::key* pKey = ini.GetKey( sLayer );