mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-23 21:24:27 +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 );
|
||||
m_iClip--;
|
||||
|
||||
m_flNextPrimaryAttack = UTIL_WeaponTimeBase() + 0.25;
|
||||
m_flTimeWeaponIdle = UTIL_WeaponTimeBase() + 0.25;
|
||||
m_flNextPrimaryAttack = UTIL_WeaponTimeBase() + 0.35;
|
||||
m_flTimeWeaponIdle = UTIL_WeaponTimeBase() + 0.35;
|
||||
gun = !gun;
|
||||
}
|
||||
else
|
||||
{
|
||||
PlayEmptySound();
|
||||
m_flNextPrimaryAttack = UTIL_WeaponTimeBase() + 0.2;
|
||||
m_flNextPrimaryAttack = UTIL_WeaponTimeBase() + 0.3;
|
||||
}
|
||||
UpdateSpot();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user