From fd5e8d6e7b2f720821953c8a74db596b622a6c1f Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Tue, 5 Nov 2019 14:47:13 +0200 Subject: [PATCH] - fixed source lump assignment for multipatch textures It was impossible to detect a WAD that contains a multipatch texture https://forum.zdoom.org/viewtopic.php?t=66299 --- src/gamedata/textures/multipatchtexturebuilder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gamedata/textures/multipatchtexturebuilder.cpp b/src/gamedata/textures/multipatchtexturebuilder.cpp index db5c65889..1f9ea1db2 100644 --- a/src/gamedata/textures/multipatchtexturebuilder.cpp +++ b/src/gamedata/textures/multipatchtexturebuilder.cpp @@ -261,8 +261,8 @@ void FMultipatchTextureBuilder::BuildTexture(const void *texdef, FPatchLookup *p } // Insert the incomplete texture right here so that it's in the correct place. - MakeTexture(buildinfo, usetype); buildinfo.DefinitionLump = deflumpnum; + MakeTexture(buildinfo, usetype); } //==========================================================================