From 40165fd6dbb2db5af50a03c7eae4789fd1325e2e Mon Sep 17 00:00:00 2001 From: Alug Date: Thu, 7 Aug 2025 17:46:03 +0200 Subject: [PATCH] make leveltitlecard be affected by colour hud --- src/st_stuff.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/st_stuff.c b/src/st_stuff.c index 0ca8c562c..680127286 100644 --- a/src/st_stuff.c +++ b/src/st_stuff.c @@ -438,9 +438,21 @@ static void ST_drawLevelTitle(void) zonttl = mapheaderinfo[gamemap-1]->zonttl; // SRB2kart actnum = mapheaderinfo[gamemap-1]->actnum; dupcalc = (vid.width/vid.dupx); - gtc = G_GetGametypeColor(gametype); + bary = (splitscreen) ? BASEVIDHEIGHT/2 : 163; + if (K_UseColorHud()) + { + if (gametype == GT_RACE) + gtc = colortranslations[K_GetHudColor()][7]; // idk if this should also apply to other gametypes? + else if (modeattacking || gamestate == GS_TIMEATTACK) + gtc = colortranslations[K_GetHudColor()][4]; + else + gtc = G_GetGametypeColor(gametype); + } + else + gtc = G_GetGametypeColor(gametype); + lvlw = V_LevelNameWidth(lvlttl); if (actnum[0])