diff options
| author | Sergeanur <s.anureev@yandex.ua> | 2021-07-26 09:13:16 +0300 |
|---|---|---|
| committer | Sergeanur <s.anureev@yandex.ua> | 2021-07-26 09:13:16 +0300 |
| commit | bc3734cae3aeb6334314b67951eb31d7dd6c14d6 (patch) | |
| tree | 1f37a7da5bf7e6a9e163c2475e29da558ab684bd /src/peds/Ped.cpp | |
| parent | Fix ridiculously accurate bullets when you shoot behind with enabled free camera (diff) | |
| download | re3-bc3734cae3aeb6334314b67951eb31d7dd6c14d6.tar.gz | |
Fix smooth spray when shooting with colt or usi while using PC controls
Diffstat (limited to 'src/peds/Ped.cpp')
| -rw-r--r-- | src/peds/Ped.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp index 8d0fbbe8..147b1218 100644 --- a/src/peds/Ped.cpp +++ b/src/peds/Ped.cpp @@ -1348,6 +1348,9 @@ CPed::CalculateNewVelocity(void) limitedRotDest -= 2 * PI; } +#ifdef FREE_CAM + if (!TheCamera.Cams[0].Using3rdPersonMouseCam()) +#endif if (IsPlayer() && m_nPedState == PED_ATTACK) headAmount /= 4.0f; |
