- fixed: The Heretic sky height hack needs to be stored in the already created texture object as well.

This commit is contained in:
Christoph Oelckers 2018-12-19 09:12:58 +01:00
commit bcff04e76f
2 changed files with 5 additions and 6 deletions

View file

@ -797,6 +797,7 @@ void FMultipatchTextureBuilder::CheckForHacks(BuildInfo &buildinfo)
buildinfo.Height == 128)
{
buildinfo.Height = 200;
buildinfo.tex->SetSize(buildinfo.tex->Width, 200);
return;
}
@ -924,6 +925,7 @@ void FMultipatchTextureBuilder::ResolveAllPatches()
while (BuiltTextures.Size() > 0)
{
bool donesomething = false;
for (unsigned i = 0; i < BuiltTextures.Size(); i++)
{
auto &buildinfo = BuiltTextures[i];