some smaller fixes

This was SVN commit r293.
This commit is contained in:
janwas
2004-05-29 12:04:42 +00:00
parent 1c5a2d8f10
commit 27f8a68de3
10 changed files with 58 additions and 51 deletions
+1 -1
View File
@@ -542,7 +542,7 @@ bool CRenderer::LoadTexture(CTexture* texture)
return h==0xfffffff ? true : false;
} else {
h=tex_load(texture->GetName());
if (!h) {
if (h <= 0) {
texture->SetHandle(0xffffffff);
return false;
} else {