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);