Skip to content

Commit

Permalink
Client: HUD: Speedometers: Move down a bit (#185)
Browse files Browse the repository at this point in the history
Resolves #185
  • Loading branch information
tmp64 committed Dec 3, 2023
1 parent bcd3c44 commit 184ac31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/game/client/hud/jumpspeed.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ void CHudJumpspeed::Draw(float flTime)
if (hud_speedometer.GetBool() && hud_speedometer_below_cross.GetBool())
yoffset = gHUD.m_iFontHeight;

y = ScreenHeight / 2 + gHUD.m_iFontHeight / 2 + yoffset;
y = ScreenHeight / 2 + gHUD.m_iFontHeight + yoffset;
}

if (hud_draw.GetFloat() > 0)
Expand Down
2 changes: 1 addition & 1 deletion src/game/client/hud/speedometer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void CHudSpeedometer::Draw(float time)
int y;
if (hud_speedometer_below_cross.GetBool())
{
y = ScreenHeight / 2 + gHUD.m_iFontHeight / 2;
y = ScreenHeight / 2 + gHUD.m_iFontHeight;
}
else
{
Expand Down

0 comments on commit 184ac31

Please sign in to comment.