From 4120e72dbd8c7cf78a2f64e4688d36bec1a419bd Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 18 Mar 2019 11:45:00 +0100 Subject: [PATCH] - explicitly mark all unresolved textures as invalid. --- src/gamedata/textures/multipatchtexturebuilder.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gamedata/textures/multipatchtexturebuilder.cpp b/src/gamedata/textures/multipatchtexturebuilder.cpp index 0bc822a05..db5c65889 100644 --- a/src/gamedata/textures/multipatchtexturebuilder.cpp +++ b/src/gamedata/textures/multipatchtexturebuilder.cpp @@ -988,6 +988,7 @@ void FMultipatchTextureBuilder::ResolveAllPatches() for (auto &b : BuiltTextures) { Printf("%s\n", b.Name.GetChars()); + b.tex->SetUseType(ETextureType::Null); } break; }