From 78bae1f166785d0d0fad0f17f52b8d02b2578d91 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Mon, 17 Feb 2020 15:37:56 +0200 Subject: [PATCH] - fixed wrong name assigned to dummy texture with zero ID Texture created with image and name set to nullptr's is named after the very first lump, it's ALTHUDCF currenty --- src/gamedata/textures/texturemanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gamedata/textures/texturemanager.cpp b/src/gamedata/textures/texturemanager.cpp index 9a7685654..8f052222c 100644 --- a/src/gamedata/textures/texturemanager.cpp +++ b/src/gamedata/textures/texturemanager.cpp @@ -1186,7 +1186,7 @@ void FTextureManager::Init() FTexture::InitGrayMap(); // Texture 0 is a dummy texture used to indicate "no texture" - auto nulltex = new FImageTexture(nullptr); + auto nulltex = new FImageTexture(nullptr, ""); nulltex->SetUseType(ETextureType::Null); AddTexture (nulltex); // some special textures used in the game.