diff options
author | Roman Masanin <36927roma@gmail.com> | 2020-11-08 14:23:05 +0100 |
---|---|---|
committer | Roman Masanin <36927roma@gmail.com> | 2020-11-08 14:23:05 +0100 |
commit | 23d23f646273db1a9b6f287110557d83d0a9c5c9 (patch) | |
tree | 53350895edf7e286180ca226bdef019db089fc5d /src/core/Pad.cpp | |
parent | FORMAT (diff) | |
parent | Pickups fix (diff) | |
download | re3-23d23f646273db1a9b6f287110557d83d0a9c5c9.tar re3-23d23f646273db1a9b6f287110557d83d0a9c5c9.tar.gz re3-23d23f646273db1a9b6f287110557d83d0a9c5c9.tar.bz2 re3-23d23f646273db1a9b6f287110557d83d0a9c5c9.tar.lz re3-23d23f646273db1a9b6f287110557d83d0a9c5c9.tar.xz re3-23d23f646273db1a9b6f287110557d83d0a9c5c9.tar.zst re3-23d23f646273db1a9b6f287110557d83d0a9c5c9.zip |
Diffstat (limited to 'src/core/Pad.cpp')
-rw-r--r-- | src/core/Pad.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
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; |