mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-19 17:14:18 +00:00
Merge 9cc8cd89e0
into 0369946156
This commit is contained in:
commit
c3e5f76ec6
|
@ -1369,6 +1369,7 @@ void CHud::RenderMovementInformation(const int ClientId)
|
||||||
const char aaCoordinates[][4] = {"X:", "Y:"};
|
const char aaCoordinates[][4] = {"X:", "Y:"};
|
||||||
for(int i = 0; i < 2; i++)
|
for(int i = 0; i < 2; i++)
|
||||||
{
|
{
|
||||||
|
if(m_aPlayerSpeed[0] == 0 || m_aPlayerSpeed[1] == 0)
|
||||||
TextRender()->TextColor(ColorRGBA(1, 1, 1, 1));
|
TextRender()->TextColor(ColorRGBA(1, 1, 1, 1));
|
||||||
if(m_aLastPlayerSpeedChange[i] == ESpeedChange::INCREASE)
|
if(m_aLastPlayerSpeedChange[i] == ESpeedChange::INCREASE)
|
||||||
TextRender()->TextColor(ColorRGBA(0, 1, 0, 1));
|
TextRender()->TextColor(ColorRGBA(0, 1, 0, 1));
|
||||||
|
|
Loading…
Reference in a new issue