2
0
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:
Night Owl 2017-07-06 00:20:29 +05:00
parent 85edea072b
commit 495c771724

View File

@ -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 );