Fixed infinite recursion with self-referencing multipatch textures

See http://forum.zdoom.org/viewtopic.php?t=54355
This commit is contained in:
alexey.lysiuk 2016-11-23 12:15:58 +02:00 committed by Christoph Oelckers
parent 5b059971f0
commit e138a3ffbc

View file

@ -1334,6 +1334,7 @@ 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());
continue;
}
else
{