game/server/hl2/weapon_garand.cpp
void CWeaponAnnabelle::FillClip( void )
{
	CBaseCombatCharacter *pOwner  = GetOwner();
	
	if ( pOwner == NULL )
		return;

	// Add them to the clip
	if ( pOwner->GetAmmoCount( m_iPrimaryAmmoType ) > 0 )
	{
		if ( Clip1() < GetMaxClip1() )
		{
			m_iClip1++;
			pOwner->RemoveAmmo( 1, m_iPrimaryAmmoType );
		}
	}
}
//-----------------------------------------------------------------------------
// Purpose: Play finish reload anim and fill clip
// Input  :
// Output :
//-----------------------------------------------------------------------------
Play finish reload anim and fill clip
Input  :
Output .
Play finish reload anim and fill clip Input : Output .
void CWeaponAnnabelle::FillClip( void )
{
	CBaseCombatCharacter *pOwner  = GetOwner();
	if ( pOwner == NULL )
		return;
	if ( pOwner->GetAmmoCount( m_iPrimaryAmmoType ) > 0 )
	{
		if ( Clip1() < GetMaxClip1() )
		{
			m_iClip1++;
			pOwner->RemoveAmmo( 1, m_iPrimaryAmmoType );
		}
	}
}
void CWeaponAnnabelle :: FillClip ( void ) { CBaseCombatCharacter * pOwner = GetOwner ( ) ; if ( pOwner == NULL ) return ; if ( pOwner -> GetAmmoCount ( m_iPrimaryAmmoType ) > 0 ) { if ( Clip1 ( ) < GetMaxClip1 ( ) ) { m_iClip1 ++ ; pOwner -> RemoveAmmo ( 1 , m_iPrimaryAmmoType ) ; } } }
Purpose: Play finish reload anim and fill clip
Input  :
Output :
Purpose : Play finish reload anim and fill clip Input : Output :
// Add them to the clip