Fix noencore map not getting used.
This commit is contained in:
parent
95b98700ae
commit
2a50e4693a
1 changed files with 1 additions and 1 deletions
|
|
@ -477,7 +477,7 @@ static void HWR_GenerateTexture(GLMapTexture_t *grtex, INT32 texnum, boolean noe
|
|||
grtex->mipmap.height = (UINT16)texture->height;
|
||||
grtex->mipmap.format = textureformat;
|
||||
|
||||
if (encoremap && R_TextureCanRemap(texnum))
|
||||
if (!noencoremap && R_TextureCanRemap(texnum))
|
||||
colormap += COLORMAP_REMAPOFFSET;
|
||||
|
||||
grtex->mipmap.colormap = Z_Calloc(sizeof(*grtex->mipmap.colormap), PU_HWRPATCHCOLMIPMAP, NULL);
|
||||
|
|
|
|||
Loading…
Reference in a new issue