From c55e228d6b888fc0cec1feacb47b134cb8252e39 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 3 Aug 2003 05:40:13 +0000 Subject: [PATCH] avoid BannerCache warnings --- stepmania/src/FadingBanner.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/stepmania/src/FadingBanner.cpp b/stepmania/src/FadingBanner.cpp index 987c9eb376..864c206900 100644 --- a/stepmania/src/FadingBanner.cpp +++ b/stepmania/src/FadingBanner.cpp @@ -94,6 +94,13 @@ void FadingBanner::LoadFromCachedBanner( const CString &path ) if( path != "" && m_Banner[GetBackIndex()].GetTexturePath() == path ) return; + if( path == "" ) + { + BeforeChange(); + m_Banner[GetBackIndex()].LoadFallback(); + return; + } + /* If we're currently fading to the given banner, go through this again, * which will cause the fade-in to be further delayed. */