From 52ca34fb86c2f8117de3e61f99f58f5f006b02df Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 14 Feb 2003 22:46:45 +0000 Subject: [PATCH] don't lowercase filenames before loading --- stepmania/src/BGAnimationLayer.cpp | 7 ++++--- stepmania/src/Font.cpp | 1 - 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/stepmania/src/BGAnimationLayer.cpp b/stepmania/src/BGAnimationLayer.cpp index a9d7509ba4..0165e0bb5e 100644 --- a/stepmania/src/BGAnimationLayer.cpp +++ b/stepmania/src/BGAnimationLayer.cpp @@ -106,9 +106,10 @@ void BGAnimationLayer::LoadFromVisualization( CString sMoviePath ) void BGAnimationLayer::LoadFromAniLayerFile( CString sPath, CString sSongBGPath ) { - sPath.MakeLower(); + CString lcPath = sPath; + lcPath.MakeLower(); - if( sPath.Find("usesongbg") != -1 ) + if( lcPath.Find("usesongbg") != -1 ) { LoadFromStaticGraphic( sSongBGPath ); return; // this will ignore other effects in the file name @@ -145,7 +146,7 @@ void BGAnimationLayer::LoadFromAniLayerFile( CString sPath, CString sSongBGPath for( int i=0; i