- fixed typo in texture search function. This caused the crosshairs not to be found.

This commit is contained in:
Christoph Oelckers 2018-04-08 19:16:46 +02:00
commit 17c18f3367
2 changed files with 1 additions and 5 deletions

View file

@ -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;
}