Jeck - Signed/unsigned fix in resource manager, options save fix.

This commit is contained in:
wagic.jeck
2009-09-14 18:30:47 +00:00
parent 0eb79c23b9
commit 5467fd379f
5 changed files with 11 additions and 4 deletions

View File

@@ -234,7 +234,7 @@ bool WCachedTexture::Attempt(string filename, int submode, int & error){
}
//Failure of a different sort.
if(texture->mTexId == -1){
if(texture->mTexId == INVALID_MTEX){
SAFE_DELETE(texture);
error = CACHE_ERROR_BAD;
return false;