avoid BannerCache warnings

This commit is contained in:
Glenn Maynard
2003-08-03 05:40:13 +00:00
parent f6ee6c62f0
commit c55e228d6b
+7
View File
@@ -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. */