From 37b1030dd475fee1b4d87740df1bbdfcab5438c2 Mon Sep 17 00:00:00 2001 From: Kyzentun Keeslala Date: Sun, 1 Nov 2015 12:04:32 -0700 Subject: [PATCH] Only warn that the banner wasn't cached if the banner cache pref isn't set to off. --- src/BannerCache.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/BannerCache.cpp b/src/BannerCache.cpp index e17f4579d4..6adee95b59 100644 --- a/src/BannerCache.cpp +++ b/src/BannerCache.cpp @@ -282,7 +282,10 @@ RageTextureID BannerCache::LoadCachedBanner( RString sBannerPath ) if( g_BannerPathToImage.find(sBannerPath) == g_BannerPathToImage.end() ) { /* Oops, the image is missing. Warn and continue. */ - LOG->Warn( "Banner cache for '%s' wasn't loaded", sBannerPath.c_str() ); + if(PREFSMAN->m_BannerCache != BNCACHE_OFF) + { + LOG->Warn( "Banner cache for '%s' wasn't loaded", sBannerPath.c_str() ); + } return ID; }