- Fix issue 97. Please review. How about performance ?
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-10-15 13:58:35 +00:00
parent f95b46f256
commit 97a0732682
4 changed files with 20 additions and 50 deletions

View File

@@ -287,6 +287,7 @@ bool WCachedTexture::Attempt(string filename, int submode, int & error){
//Failure.
if(!texture){
error = CACHE_ERROR_BAD;
if(!fileExists(realname.c_str()))
error = CACHE_ERROR_404;
return false;