Skip to content

Commit 491b55a

Browse files
committed
Don't discard ammo on the Force-a-Nature if the clip size is full
1 parent b2705ba commit 491b55a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/game/shared/tf/tf_weapon_shotgun.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ void CTFScatterGun::FinishReload( void )
417417
if ( !pOwner )
418418
return;
419419

420-
if ( UsesClipsForAmmo1() && !m_bReloadsSingly )
420+
if ( UsesClipsForAmmo1() && !m_bReloadsSingly && m_iClip1 < GetMaxClip1() )
421421
{
422422
int primary = MIN( GetMaxClip1() - m_iClip1, pOwner->GetAmmoCount(m_iPrimaryAmmoType));
423423
m_iClip1 += primary;

0 commit comments

Comments
 (0)