mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 14:51:46 +00:00
- fixed typo in texture search function. This caused the crosshairs not to be found.
This commit is contained in:
parent
c4768441b4
commit
17c18f3367
2 changed files with 1 additions and 5 deletions
|
@ -193,10 +193,6 @@ void ST_LoadCrosshair(bool alwaysload)
|
|||
return;
|
||||
}
|
||||
|
||||
if (CrosshairImage != NULL)
|
||||
{
|
||||
CrosshairImage->Unload ();
|
||||
}
|
||||
if (num == 0)
|
||||
{
|
||||
CrosshairNum = 0;
|
||||
|
|
|
@ -172,7 +172,7 @@ FTextureID FTextureManager::CheckForTexture (const char *name, ETextureType uset
|
|||
if (stricmp (tex->Name, name) == 0 )
|
||||
{
|
||||
// If we look for short names, we must ignore any long name texture.
|
||||
if ((flags & TEXMAN_ShortNameOnly) && !tex->bFullNameTexture)
|
||||
if ((flags & TEXMAN_ShortNameOnly) && tex->bFullNameTexture)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue