Fixed applying of brightmaps to overridden textures

https://forum.zdoom.org/viewtopic.php?t=58444
This commit is contained in:
alexey.lysiuk 2017-11-18 17:07:42 +02:00
parent 80b47cafb4
commit c2b4efbea0

View file

@ -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('{');