summaryrefslogtreecommitdiff
path: root/src/d/d_lib.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/d/d_lib.cpp')
-rw-r--r--src/d/d_lib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/d_lib.cpp b/src/d/d_lib.cpp
index 8f3597a55b..34c626ea75 100644
--- a/src/d/d_lib.cpp
+++ b/src/d/d_lib.cpp
@@ -108,7 +108,7 @@ u8 STControl::checkTrigger() {
f32 stickValue = getValueStick();
s16 stickAngle = getAngleStick();
u8 var_r6 = 0;
- s16 temp_r7 = 0x2000 - field_0x26 >> 1;
+ s16 temp_r7 = (0x2000 - field_0x26) >> 1;
if (!cM3d_IsZero(stickValue)) {
if (stickAngle < field_0x22 - 0x7000 + temp_r7) {