mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 01:24:18 +00:00
Merge #937
937: Fix `3 / 2` using integer division r=Learath2 a=heinrich5991
This commit is contained in:
commit
71d77ae778
|
@ -841,7 +841,7 @@ void CPlayers::RenderPlayer(
|
|||
if (OtherTeam)
|
||||
Graphics()->SetColor(1.0f, 1.0f, 1.0f, g_Config.m_ClShowOthersAlpha / 100.0f);
|
||||
IGraphics::CQuadItem QuadItem(Position.x, Position.y - 70, 22, 22);
|
||||
Graphics()->QuadsSetRotation(3 / 2 * pi);
|
||||
Graphics()->QuadsSetRotation(pi * 3 / 2);
|
||||
Graphics()->QuadsDraw(&QuadItem, 1);
|
||||
Graphics()->QuadsEnd();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue