Skip to content

Commit

Permalink
HUD: Adjust position based on new graphic size
Browse files Browse the repository at this point in the history
  • Loading branch information
dastrukar committed Jan 27, 2021
1 parent 8a94576 commit adde1b9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions fdhud.zs
Original file line number Diff line number Diff line change
Expand Up @@ -166,14 +166,14 @@ class fdhud : BaseStatusBar
// If true, only show the current weapon ammo
if (CVar.GetCVar("fdhud_onlycurrentweapon", CPlayer).GetBool())
{
DrawFDBarCurrentAmm(-47, -32);
DrawFDBarKeys(-60, -32);
DrawFDBarCurrentAmm(-48, -32);
DrawFDBarKeys(-61, -32);
fdbar_weapons_X_pos = -60;
}
else
{
DrawFDBarCurrentAmm(-47, -64);
DrawFDBarKeys(-60, -64);
DrawFDBarCurrentAmm(-48, -64);
DrawFDBarKeys(-61, -64);
DrawFDBarAmmo(-71, -32);
fdbar_weapons_X_pos = -71;
}
Expand Down

0 comments on commit adde1b9

Please sign in to comment.