Skip to content

Commit

Permalink
- fixed wrong name assigned to dummy texture with zero ID
Browse files Browse the repository at this point in the history
Texture created with image and name set to nullptr's is named after the very first lump, it's ALTHUDCF currenty
  • Loading branch information
alexey-lysiuk committed Feb 17, 2020
1 parent 4237e64 commit 78bae1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gamedata/textures/texturemanager.cpp
Expand Up @@ -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.
Expand Down

0 comments on commit 78bae1f

Please sign in to comment.