From c2b4efbea03cc70887e6493d66b816d89d998919 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 18 Nov 2017 17:07:42 +0200 Subject: [PATCH] Fixed applying of brightmaps to overridden textures https://forum.zdoom.org/viewtopic.php?t=58444 --- src/gl/textures/gl_texture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gl/textures/gl_texture.cpp b/src/gl/textures/gl_texture.cpp index e5a91fe14be..51425d40d79 100644 --- a/src/gl/textures/gl_texture.cpp +++ b/src/gl/textures/gl_texture.cpp @@ -564,7 +564,7 @@ void gl_ParseBrightmap(FScanner &sc, int deflump) else sc.UnGet(); sc.MustGetString(); - FTextureID no = TexMan.CheckForTexture(sc.String, type); + FTextureID no = TexMan.CheckForTexture(sc.String, type, FTextureManager::TEXMAN_TryAny | FTextureManager::TEXMAN_Overridable); FTexture *tex = TexMan[no]; sc.MustGetToken('{');