Browse Source

Fix my mistake.

half-screwed
Night Owl 8 years ago
parent
commit
10683b8f56
  1. 2
      cl_dll/ammo.cpp

2
cl_dll/ammo.cpp

@ -881,7 +881,7 @@ int CHudAmmo::Draw( float flTime )
y = ScreenHeight - gHUD.m_iFontHeight - gHUD.m_iFontHeight / 2; y = ScreenHeight - gHUD.m_iFontHeight - gHUD.m_iFontHeight / 2;
// Does weapon have any ammo at all? // 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; int iIconWidth = m_pWeapon->rcAmmo.right - m_pWeapon->rcAmmo.left;

Loading…
Cancel
Save