Skip to content

Commit

Permalink
Client: HUD: Ammo: Resize ammo bar
Browse files Browse the repository at this point in the history
  • Loading branch information
tmp64 committed Nov 25, 2023
1 parent 44015b1 commit f997b8d
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/game/client/hud/ammo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -313,16 +313,8 @@ void CHudAmmo::VidInit()
// If we've already loaded weapons, let's get new sprites
gWR.LoadAllWeaponSprites();

if (ScreenWidth >= 640)
{
giABWidth = 20;
giABHeight = 4;
}
else
{
giABWidth = 10;
giABHeight = 2;
}
giABWidth = SPR_RES_SCALED(20);
giABHeight = SPR_RES_SCALED(4);
}

//
Expand Down

0 comments on commit f997b8d

Please sign in to comment.