mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-02-03 02:24:28 +00:00
fix rpg damage
This commit is contained in:
parent
40c8ce754c
commit
43b7ea9531
@ -459,14 +459,14 @@ void CRpg::PrimaryAttack()
|
|||||||
SendWeaponAnim( RPG_FIRE2 + 1 - gun );
|
SendWeaponAnim( RPG_FIRE2 + 1 - gun );
|
||||||
m_iClip--;
|
m_iClip--;
|
||||||
|
|
||||||
m_flNextPrimaryAttack = UTIL_WeaponTimeBase() + 0.25;
|
m_flNextPrimaryAttack = UTIL_WeaponTimeBase() + 0.35;
|
||||||
m_flTimeWeaponIdle = UTIL_WeaponTimeBase() + 0.25;
|
m_flTimeWeaponIdle = UTIL_WeaponTimeBase() + 0.35;
|
||||||
gun = !gun;
|
gun = !gun;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
PlayEmptySound();
|
PlayEmptySound();
|
||||||
m_flNextPrimaryAttack = UTIL_WeaponTimeBase() + 0.2;
|
m_flNextPrimaryAttack = UTIL_WeaponTimeBase() + 0.3;
|
||||||
}
|
}
|
||||||
UpdateSpot();
|
UpdateSpot();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user