mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-02-09 21:44:15 +00:00
Fix my mistake.
This commit is contained in:
parent
9a33e5318c
commit
10683b8f56
@ -881,7 +881,7 @@ int CHudAmmo::Draw( float flTime )
|
||||
y = ScreenHeight - gHUD.m_iFontHeight - gHUD.m_iFontHeight / 2;
|
||||
|
||||
// Does weapon have any ammo at all?
|
||||
if( m_pWeapon->iAmmoType > 0 )
|
||||
if( m_pWeapon->iAmmoType > 0 && m_pWeapon->hDuckHunt == 0 )
|
||||
{
|
||||
int iIconWidth = m_pWeapon->rcAmmo.right - m_pWeapon->rcAmmo.left;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user