- moved linked textures from file system to texture manager.

This commit is contained in:
Christoph Oelckers 2023-08-18 21:26:22 +02:00
commit 2524ea6b0e
7 changed files with 48 additions and 44 deletions

View file

@ -424,7 +424,7 @@ DEFINE_ACTION_FUNCTION(_TexMan, GetName)
{
// Textures for full path names do not have their own name, they merely link to the source lump.
auto lump = tex->GetSourceLump();
if (fileSystem.GetLinkedTexture(lump) == tex)
if (TexMan.GetLinkedTexture(lump) == tex)
retval = fileSystem.GetFileFullName(lump);
}
}