mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
reset color for the gameflags
This commit is contained in:
parent
c95e1a61c6
commit
fbaedff1e6
|
@ -262,6 +262,7 @@ void CHud::RenderScoreHud()
|
||||||
// draw flag
|
// draw flag
|
||||||
Graphics()->TextureSet(g_pData->m_aImages[IMAGE_GAME].m_Id);
|
Graphics()->TextureSet(g_pData->m_aImages[IMAGE_GAME].m_Id);
|
||||||
int QuadOffset = NUM_WEAPONS * 10 + 40 + NUM_WEAPONS + t;
|
int QuadOffset = NUM_WEAPONS * 10 + 40 + NUM_WEAPONS + t;
|
||||||
|
Graphics()->SetColor(1.f, 1.f, 1.f, 1.f);
|
||||||
Graphics()->RenderQuadContainerAsSprite(m_HudQuadContainerIndex, QuadOffset, Whole - ScoreWidthMax - ImageSize, StartY + 1.0f + t * 20);
|
Graphics()->RenderQuadContainerAsSprite(m_HudQuadContainerIndex, QuadOffset, Whole - ScoreWidthMax - ImageSize, StartY + 1.0f + t * 20);
|
||||||
}
|
}
|
||||||
else if(FlagCarrier[t] >= 0)
|
else if(FlagCarrier[t] >= 0)
|
||||||
|
|
Loading…
Reference in a new issue