diff --git a/src/g_statusbar/shared_sbar.cpp b/src/g_statusbar/shared_sbar.cpp index 535f01856..6ea45eda5 100644 --- a/src/g_statusbar/shared_sbar.cpp +++ b/src/g_statusbar/shared_sbar.cpp @@ -193,10 +193,6 @@ void ST_LoadCrosshair(bool alwaysload) return; } - if (CrosshairImage != NULL) - { - CrosshairImage->Unload (); - } if (num == 0) { CrosshairNum = 0; diff --git a/src/textures/texturemanager.cpp b/src/textures/texturemanager.cpp index bc49c33db..c7dc35fd3 100644 --- a/src/textures/texturemanager.cpp +++ b/src/textures/texturemanager.cpp @@ -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; }