make failed banner caching nonfatal

This commit is contained in:
Glenn Maynard
2004-02-20 04:53:51 +00:00
parent 1d580d2a0f
commit 2a542c6ebf
+4 -1
View File
@@ -305,7 +305,10 @@ void BannerCache::CacheBannerInternal( CString BannerPath )
{ {
SDL_Surface *img = SDL_LoadImage( BannerPath ); SDL_Surface *img = SDL_LoadImage( BannerPath );
if( img == NULL ) if( img == NULL )
RageException::Throw( "BannerCache::CacheBanner: Couldn't load %s: %s", BannerPath.c_str(), SDL_GetError() ); {
LOG->Warn( "BannerCache::CacheBanner: Couldn't load %s: %s", BannerPath.c_str(), SDL_GetError() );
return;
}
bool WasRotatedBanner = false; bool WasRotatedBanner = false;