make this intent more clear for non GLENCORE compile

This commit is contained in:
Alug committed 2025-10-31 02:26:50 +01:00
1 parent 69a401c679
commit fc29240fc4
1 file changed
+4 -4
+4 -4
View File
@@ -685,8 +685,6 @@ static void HWR_PrecacheLevelTextures(void)
const line_t *line = &lines[i];
#ifdef GLENCORE
const int noencoremap = ((encoremap && (line->flags & ML_TFERLINE)) ? 2 : 1);
#else
const int noencoremap = 1;
#endif
// two sides
for (j = 0; j < 2; j++)
@@ -704,9 +702,11 @@ static void HWR_PrecacheLevelTextures(void)
const INT32 texnum = sidetex[f];
if (texnum < 0 || texnum >= numtextures || texturepresent[texnum])
continue;
#ifdef GLENCORE
texturepresent[texnum] = 1|noencoremap;
#else
texturepresent[texnum] = 1;
#endif
HWR_GetTexture(texnum, false);
#ifdef GLENCORE
if (noencoremap & 2)