diff --git a/projects/mtg/src/WResourceManager.cpp b/projects/mtg/src/WResourceManager.cpp index 31981094a..d47a74feb 100644 --- a/projects/mtg/src/WResourceManager.cpp +++ b/projects/mtg/src/WResourceManager.cpp @@ -1223,8 +1223,10 @@ cacheItem * WCache::Get(string id, int style, int submod } //Well, we've found something... if(it != cache.end()) { - if(!it->second && (submode & CACHE_EXISTING)) + if(!it->second && (submode & CACHE_EXISTING)){ + mError = CACHE_ERROR_404; return NULL; //A miss. + } else return it->second; //A hit. }