- 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
|
|
@ -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…
Add table
Add a link
Reference in a new issue