mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-18 05:58:19 +00:00
Merge pull request #9001 from ChillerDragon/pr_dm_plus_colors
Change color of non standard vanilla gametypes
This commit is contained in:
commit
5558a69e1c
|
@ -65,7 +65,7 @@ static ColorRGBA GetGametypeTextColor(const char *pGametype)
|
||||||
if(pGametype[0] == 'i' || pGametype[0] == 'g')
|
if(pGametype[0] == 'i' || pGametype[0] == 'g')
|
||||||
HslaColor = ColorHSLA(0.0f, 1.0f, 0.75f);
|
HslaColor = ColorHSLA(0.0f, 1.0f, 0.75f);
|
||||||
else
|
else
|
||||||
HslaColor = ColorHSLA(0.375f, 1.0f, 0.35f);
|
HslaColor = ColorHSLA(0.40f, 1.0f, 0.75f);
|
||||||
}
|
}
|
||||||
else if(str_find_nocase(pGametype, "f-ddrace") || str_find_nocase(pGametype, "freeze"))
|
else if(str_find_nocase(pGametype, "f-ddrace") || str_find_nocase(pGametype, "freeze"))
|
||||||
HslaColor = ColorHSLA(0.0f, 1.0f, 0.75f);
|
HslaColor = ColorHSLA(0.0f, 1.0f, 0.75f);
|
||||||
|
|
Loading…
Reference in a new issue