- 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

@ -1135,7 +1135,7 @@ FSerializer &Serialize(FSerializer &arc, const char *key, FTextureID &value, FTe
const char *name;
auto lump = pic->GetSourceLump();
if (fileSystem.GetLinkedTexture(lump) == pic)
if (TexMan.GetLinkedTexture(lump) == pic)
{
name = fileSystem.GetFileFullName(lump);
}