From 9bbf3d1b25abdf9895ff6326a23da7a68a136491 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 2 Nov 2003 00:18:52 +0000 Subject: [PATCH] harmless fix --- stepmania/src/BGAnimationLayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/BGAnimationLayer.cpp b/stepmania/src/BGAnimationLayer.cpp index dccfa731f6..23aafd53da 100644 --- a/stepmania/src/BGAnimationLayer.cpp +++ b/stepmania/src/BGAnimationLayer.cpp @@ -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_SPRITE; Stretch = true; } + else if( atoi(type) == 1 ) { 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