Skip to content
Permalink
Browse files

- 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
  • Loading branch information
alexey-lysiuk committed Nov 5, 2019
1 parent 583d8fa commit fd5e8d6e7b2f720821953c8a74db596b622a6c1f
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);
}

//==========================================================================

0 comments on commit fd5e8d6

Please sign in to comment.
You can’t perform that action at this time.