Skip to content

Commit

Permalink
Fixed applying of brightmaps to overridden textures
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-lysiuk committed Nov 18, 2017
1 parent 80b47ca commit c2b4efb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gl/textures/gl_texture.cpp
Expand Up @@ -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('{');
Expand Down

0 comments on commit c2b4efb

Please sign in to comment.