From 6694c1b281a142972fce587bd20cd82ee65ab38f Mon Sep 17 00:00:00 2001 From: Max Roncace Date: Wed, 18 Mar 2026 01:38:05 -0400 Subject: Fix a bunch of compiler warnings and document several more bugs (#3130) --- src/d/d_lib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/d/d_lib.cpp') 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) { -- cgit v1.2.3