summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-06-24 19:11:33 +0200
committeraap <aap@papnet.eu>2020-06-24 19:11:33 +0200
commit077bcf1c8268f6ca04e5dcf093c7f0e07194cf23 (patch)
tree3eaf90fdcf3c6ffd22d67497082e6b56de963064 /src/core
parentanim fix (diff)
downloadre3-077bcf1c8268f6ca04e5dcf093c7f0e07194cf23.tar
re3-077bcf1c8268f6ca04e5dcf093c7f0e07194cf23.tar.gz
re3-077bcf1c8268f6ca04e5dcf093c7f0e07194cf23.tar.bz2
re3-077bcf1c8268f6ca04e5dcf093c7f0e07194cf23.tar.lz
re3-077bcf1c8268f6ca04e5dcf093c7f0e07194cf23.tar.xz
re3-077bcf1c8268f6ca04e5dcf093c7f0e07194cf23.tar.zst
re3-077bcf1c8268f6ca04e5dcf093c7f0e07194cf23.zip
Diffstat (limited to '')
-rw-r--r--src/core/Pad.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Pad.cpp b/src/core/Pad.cpp
index 084fe888..56bc1431 100644
--- a/src/core/Pad.cpp
+++ b/src/core/Pad.cpp
@@ -1610,7 +1610,7 @@ int16 CPad::GetSteeringUpDown(void)
case 2:
{
int16 axis = NewState.LeftStickY;
- int16 dpad = (NewState.DPadUp - NewState.DPadDown) / 2;
+ int16 dpad = (NewState.DPadDown - NewState.DPadUp) / 2;
if ( Abs(axis) > Abs(dpad) )
return axis;