From 9bc0a43028ed4c46ae9ba8cc6b7842e0a7dbeb04 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 11 Dec 2022 11:48:39 +0100 Subject: [PATCH] - fixed lookup for tile aliases pointing to non-existent tiles. --- source/core/g_mapinfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/core/g_mapinfo.cpp b/source/core/g_mapinfo.cpp index 8315c4675..dec007a16 100644 --- a/source/core/g_mapinfo.cpp +++ b/source/core/g_mapinfo.cpp @@ -505,7 +505,7 @@ void FMapInfoParser::ParseSwitches() { next: sc.MustGetString(); - auto thisframe = TexMan.CheckForTexture(sc.String, ETextureType::Any); + auto thisframe = TexMan.CheckForTexture(sc.String, ETextureType::Any, texlookupflags); if (!thisframe.isValid()) { sc.ScriptMessage("Unknown texture '%s' in switch definition", sc.String);