mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-18 05:58:19 +00:00
Use same Red/Blue team colors for score HUD as for scoreboard
This commit is contained in:
parent
a84a53c5fe
commit
eb956e72d1
|
@ -216,9 +216,9 @@ void CHud::RenderScoreHud()
|
|||
Graphics()->DeleteQuadContainer(m_aScoreInfo[t].m_RoundRectQuadContainerIndex);
|
||||
|
||||
if(t == 0)
|
||||
Graphics()->SetColor(1.0f, 0.0f, 0.0f, 0.25f);
|
||||
Graphics()->SetColor(0.975f, 0.17f, 0.17f, 0.3f);
|
||||
else
|
||||
Graphics()->SetColor(0.0f, 0.0f, 1.0f, 0.25f);
|
||||
Graphics()->SetColor(0.17f, 0.46f, 0.975f, 0.3f);
|
||||
m_aScoreInfo[t].m_RoundRectQuadContainerIndex = Graphics()->CreateRectQuadContainer(m_Width - ScoreWidthMax - ImageSize - 2 * Split, StartY + t * 20, ScoreWidthMax + ImageSize + 2 * Split, ScoreSingleBoxHeight, 5.0f, IGraphics::CORNER_L);
|
||||
}
|
||||
Graphics()->TextureClear();
|
||||
|
|
Loading…
Reference in a new issue