summaryrefslogtreecommitdiff
path: root/src/weapons
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-09-26 13:30:22 +0300
committerNikolay Korolev <nickvnuk@gmail.com>2020-09-26 13:30:22 +0300
commitb42d9e3e7c1caf6ad06ad81eb34cc27e09bd9bb9 (patch)
tree84d1bb921722801784283e70667b93b8a7ee4dc1 /src/weapons
parenteefb0c817f1c86cb24d3a730da848e1f98277948 (diff)
silentpatch fixes
Diffstat (limited to 'src/weapons')
-rw-r--r--src/weapons/Weapon.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/weapons/Weapon.cpp b/src/weapons/Weapon.cpp
index aea14f6a..37f59c95 100644
--- a/src/weapons/Weapon.cpp
+++ b/src/weapons/Weapon.cpp
@@ -1608,6 +1608,9 @@ CWeapon::FireM16_1stPerson(CEntity *shooter)
if ( shooter == FindPlayerPed() )
{
+#ifdef FIX_BUGS
+ CStats::InstantHitsFiredByPlayer++;
+#endif
CPad::GetPad(0)->StartShake_Distance(240, 128, FindPlayerPed()->GetPosition().x, FindPlayerPed()->GetPosition().y, FindPlayerPed()->GetPosition().z);
if ( m_eWeaponType == WEAPONTYPE_M16 )