mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-22 09:57:21 +01:00
Update mp5.cpp.
This commit is contained in:
parent
85edea072b
commit
495c771724
@ -238,7 +238,7 @@ void CMP5::SecondaryAttack( void )
|
||||
|
||||
void CMP5::Reload( void )
|
||||
{
|
||||
if( m_pPlayer->ammo_9mm <= 0 )
|
||||
if( m_pPlayer->m_rgAmmo[m_iPrimaryAmmoType] <= 0 || m_iClip == MP5_MAX_CLIP )
|
||||
return;
|
||||
|
||||
DefaultReload( MP5_MAX_CLIP, MP5_RELOAD, 1.5 );
|
||||
|
Loading…
Reference in New Issue
Block a user