- 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
This commit is contained in:
alexey.lysiuk 2019-11-05 14:47:13 +02:00
parent 583d8faf5c
commit fd5e8d6e7b

View file

@ -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. // Insert the incomplete texture right here so that it's in the correct place.
MakeTexture(buildinfo, usetype);
buildinfo.DefinitionLump = deflumpnum; buildinfo.DefinitionLump = deflumpnum;
MakeTexture(buildinfo, usetype);
} }
//========================================================================== //==========================================================================