silentpatch fixes

This commit is contained in:
Nikolay Korolev committed 2020-09-26 13:30:22 +03:00
1 parent eefb0c817f
commit b42d9e3e7c
8 files changed
+47 -7

No files matched your search

+3
View File
@@ -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 )