From 6a9c596dd3011a93fa3f73e8fc0446988473cffa 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 d8e0d10b..c511d0b2 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 )