- print a developer warning if the texture manager had to resolve a circular reference.

This commit is contained in:
Christoph Oelckers 2016-10-26 12:03:28 +02:00
parent 28fefdabc7
commit 5309209039

View file

@ -1338,6 +1338,11 @@ void FMultiPatchTexture::ResolvePatches()
if (Inits[i].HasLine) Inits[i].sc.Message(MSG_WARNING, "Texture '%s' references itself as patch\n", Inits[i].TexName.GetChars());
else Printf(TEXTCOLOR_YELLOW "Texture '%s' references itself as patch\n", Inits[i].TexName.GetChars());
}
else
{
// If it could be resolved, just print a developer warning.
DPrintf(DMSG_WARNING, "Resolved self-referencing texture by picking an older entry for %s", Inits[i].TexName.GetChars());
}
}
if (!texno.isValid())