reset color for the gameflags

This commit is contained in:
Jupeyy 2018-04-05 20:46:22 +02:00
parent c95e1a61c6
commit fbaedff1e6

View file

@ -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)