Skip to content

Commit

Permalink
Fixed infinite recursion with self-referencing multipatch textures
Browse files Browse the repository at this point in the history
  • Loading branch information
IgeNiaI committed Nov 29, 2022
1 parent f3f6fd6 commit 3c768ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/textures/multipatchtexture.cpp
Expand Up @@ -1332,6 +1332,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("Texture '%s' references itself as patch\n", Inits[i].TexName.GetChars());
continue;
}
else
{
Expand Down

0 comments on commit 3c768ef

Please sign in to comment.