no need to time a banner load when the full banner is loaded fast

This commit is contained in:
Glenn Maynard
2004-06-03 05:36:01 +00:00
parent 867bf597c9
commit 8e9aa050d6
+6 -2
View File
@@ -142,8 +142,12 @@ void FadingBanner::LoadFromCachedBanner( const CString &path )
BeforeChange();
m_Banner[GetBackIndex()].Load( ID );
m_sPendingBanner = path;
m_PendingTimer.GetDeltaTime(); /* reset */
if( PREFSMAN->m_BannerCache != PrefsManager::BNCACHE_FULL )
{
m_sPendingBanner = path;
m_PendingTimer.GetDeltaTime(); /* reset */
}
return;
}