Erwan
- Fix issue 97. Please review. How about performance ?
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user