diff options
-rw-r--r-- | src/core/Cam.cpp | 2 | ||||
-rw-r--r-- | src/core/Pad.cpp | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/core/Cam.cpp b/src/core/Cam.cpp index 7af652ad..7560a86e 100644 --- a/src/core/Cam.cpp +++ b/src/core/Cam.cpp @@ -4626,7 +4626,7 @@ CCam::Process_FollowPed_Rotation(const CVector &CameraTarget, float TargetOrient */ { LookLeftRight = -CPad::GetPad(0)->LookAroundLeftRight(); - LookUpDown = -CPad::GetPad(0)->LookAroundUpDown(); + LookUpDown = CPad::GetPad(0)->LookAroundUpDown(); } float AlphaOffset, BetaOffset; if(UseMouse){ diff --git a/src/core/Pad.cpp b/src/core/Pad.cpp index b723eb1d..6752c1c5 100644 --- a/src/core/Pad.cpp +++ b/src/core/Pad.cpp @@ -3222,6 +3222,9 @@ int16 CPad::SniperModeLookUpDown(void) int16 axis = NewState.LeftStickY; int16 dpad; +#ifdef FIX_BUGS + axis = -axis; +#endif if (CPad::bInvertLook4Pad) { axis = -axis; dpad = (NewState.DPadDown - NewState.DPadUp) / 2; @@ -3257,7 +3260,9 @@ int16 CPad::LookAroundLeftRight(void) int16 CPad::LookAroundUpDown(void) { int16 axis = GetPad(0)->NewState.RightStickY; - +#ifdef FIX_BUGS + axis = -axis; +#endif if (CPad::bInvertLook4Pad) axis = -axis; |