- fixed: long texture name lookup did not work with TEXMAN_TryAny.

This commit is contained in:
Christoph Oelckers 2014-05-14 10:27:40 +02:00
parent a375454474
commit 8c052818b7
1 changed files with 1 additions and 1 deletions

View File

@ -220,8 +220,8 @@ FTextureID FTextureManager::CheckForTexture (const char *name, int usetype, BITF
{
if (firsttype == FTexture::TEX_Null) return FTextureID(0);
if (firsttype == FTexture::TEX_FirstDefined && !(flags & TEXMAN_ReturnFirst)) return FTextureID(0);
return FTextureID(firstfound);
}
return FTextureID(firstfound);
}