From e8db2fa3545670c3a0a48a5887215121fa7351ba Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Thu, 21 Dec 2023 04:19:27 +0300 Subject: [PATCH] client: ammo: apply fix for HUD vertical inconsistency (ValveSoftware/halflife#3728) --- cl_dll/ammo.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cl_dll/ammo.cpp b/cl_dll/ammo.cpp index d8e0d10bab..c511d0b2ff 100644 --- a/cl_dll/ammo.cpp +++ b/cl_dll/ammo.cpp @@ -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 )