mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-03-12 21:41:05 +00:00
client: ammo: apply fix for HUD vertical inconsistency (ValveSoftware/halflife#3728)
This commit is contained in:
parent
de43a7bb9e
commit
e8db2fa354
@ -873,6 +873,7 @@ int CHudAmmo::Draw( float flTime )
|
||||
|
||||
// Does this weapon have a clip?
|
||||
y = ScreenHeight - gHUD.m_iFontHeight - gHUD.m_iFontHeight / 2;
|
||||
y += gHUD.m_iHudNumbersYOffset; // a1ba: fix HL25 HUD vertical inconsistensy
|
||||
|
||||
// Does weapon have any ammo at all?
|
||||
if( m_pWeapon->iAmmoType > 0 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user