mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-29 15:22:08 +00:00
- fixed: long texture name lookup did not work with TEXMAN_TryAny.
This commit is contained in:
parent
a375454474
commit
8c052818b7
1 changed files with 1 additions and 1 deletions
|
@ -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_Null) return FTextureID(0);
|
||||||
if (firsttype == FTexture::TEX_FirstDefined && !(flags & TEXMAN_ReturnFirst)) return FTextureID(0);
|
if (firsttype == FTexture::TEX_FirstDefined && !(flags & TEXMAN_ReturnFirst)) return FTextureID(0);
|
||||||
|
return FTextureID(firstfound);
|
||||||
}
|
}
|
||||||
return FTextureID(firstfound);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue