mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-25 22:24:16 +00: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 )
|
void CMP5::Reload( void )
|
||||||
{
|
{
|
||||||
if( m_pPlayer->ammo_9mm <= 0 )
|
if( m_pPlayer->m_rgAmmo[m_iPrimaryAmmoType] <= 0 || m_iClip == MP5_MAX_CLIP )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
DefaultReload( MP5_MAX_CLIP, MP5_RELOAD, 1.5 );
|
DefaultReload( MP5_MAX_CLIP, MP5_RELOAD, 1.5 );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user