mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 05:51:20 +00:00
Fixed applying of brightmaps to overridden textures
https://forum.zdoom.org/viewtopic.php?t=58444
This commit is contained in:
parent
80b47cafb4
commit
c2b4efbea0
1 changed files with 1 additions and 1 deletions
|
@ -564,7 +564,7 @@ void gl_ParseBrightmap(FScanner &sc, int deflump)
|
||||||
else sc.UnGet();
|
else sc.UnGet();
|
||||||
|
|
||||||
sc.MustGetString();
|
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];
|
FTexture *tex = TexMan[no];
|
||||||
|
|
||||||
sc.MustGetToken('{');
|
sc.MustGetToken('{');
|
||||||
|
|
Loading…
Reference in a new issue