This commit is contained in:
Glenn Maynard
2003-11-02 00:26:56 +00:00
parent 5ec6fbad10
commit ede9684d00
+1 -1
View File
@@ -487,7 +487,7 @@ void BGAnimationLayer::LoadFromIni( CString sAniDir, CString sLayer )
ini.GetValue( sLayer, "Stretch", Stretch );
if( atoi(type) == 0 || type == "sprite" ) m_Type = TYPE_SPRITE;
else if( atoi(type) == 1 ) { type = TYPE_SPRITE; Stretch = true; }
else if( atoi(type) == 1 ) { m_Type = TYPE_SPRITE; Stretch = true; }
else if( atoi(type) == 2 || type == "particles" ) m_Type = TYPE_PARTICLES;
else if( atoi(type) == 3 || type == "tiles" ) m_Type = TYPE_TILES;
else