make leveltitlecard be affected by colour hud
This commit is contained in:
1 parent
c701e1fe7e
commit
40165fd6db
1 file changed
+13
-1
+13
-1
@@ -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])
|
||||
|
||||
Reference in new issue
Block a user