- 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
This commit is contained in:
alexey.lysiuk 2020-02-17 15:37:56 +02:00
parent 4237e64081
commit 78bae1f166

View file

@ -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.