Merge branch 'emerald-hud-gfx-tags' into 'master'

Always cache EMEMAP/SUPMAP in PU_HUDGFX tag

Closes #1240

See merge request KartKrew/Kart!2326
This commit is contained in:
Eidolon 2024-05-01 14:35:50 +00:00
commit 16e7fd475b
2 changed files with 3 additions and 3 deletions

View file

@ -1295,7 +1295,7 @@ void F_GameEvaluationDrawer(void)
patch_t *empat = W_CachePatchName(
(evaluationtype == EVAL_CHAOS) ? "EMEMAP" : "SUPMAP",
PU_PATCH_LOWPRIORITY
PU_HUDGFX
);
x -= 6*FRACUNIT;
y -= 6*FRACUNIT;

View file

@ -3098,7 +3098,7 @@ windataemeraldmaybe:
colormap ? '\0' : 'B'
);
V_DrawFixedPatch((rankx)*FRACUNIT, (ranky)*FRACUNIT, FRACUNIT, 0, W_CachePatchName(emname, PU_CACHE), colormap);
V_DrawFixedPatch((rankx)*FRACUNIT, (ranky)*FRACUNIT, FRACUNIT, 0, W_CachePatchName(emname, PU_HUDGFX), colormap);
}
}
else if (statsmode)
@ -5414,7 +5414,7 @@ void M_DrawVideoModes(void)
va("\x87" "Default mode is %dx%d",
cv_scr_width.value, cv_scr_height.value));
if (vid.width > 1280 || vid.height > 800)
V_DrawCenteredMenuString(BASEVIDWIDTH/2 + t, currentMenu->y + 75+24,