From e3737d333006f28a6a66da25a70b3587d0a6be4a Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 13 Jul 2021 08:35:04 +0200 Subject: [PATCH] - fixed texture lookup for hightile lookup. Not all commands had the proper flags to also look in the root folder. --- source/core/textures/hightile.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/core/textures/hightile.cpp b/source/core/textures/hightile.cpp index b8520dc95..7f9c5051b 100644 --- a/source/core/textures/hightile.cpp +++ b/source/core/textures/hightile.cpp @@ -255,7 +255,7 @@ int tileSetHightileReplacement(int picnum, int palnum, const char* filename, flo } HightileReplacement replace = {}; - FTextureID texid = TexMan.CheckForTexture(filename, ETextureType::Any); + FTextureID texid = TexMan.CheckForTexture(filename, ETextureType::Any, FTextureManager::TEXMAN_ForceLookup); if (!texid.isValid()) { Printf("%s: Replacement for tile %d does not exist or is invalid\n", filename, picnum); @@ -296,7 +296,7 @@ int tileSetSkybox(int picnum, int palnum, FString* facenames) FGameTexture *faces[6]; for (int i = 0; i < 6; i++) { - FTextureID texid = TexMan.CheckForTexture(facenames[i], ETextureType::Any); + FTextureID texid = TexMan.CheckForTexture(facenames[i], ETextureType::Any, FTextureManager::TEXMAN_ForceLookup); if (!texid.isValid()) { Printf("%s: Skybox image for tile %d does not exist or is invalid\n", facenames[i].GetChars(), picnum);