diff options
| author | Max Roncace <me@caseif.net> | 2026-03-18 01:38:05 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-17 22:38:05 -0700 |
| commit | 6694c1b281a142972fce587bd20cd82ee65ab38f (patch) | |
| tree | 2537d09d5ab3d270eaca5143a4f2f2f65f4ecb49 /src/d/d_lib.cpp | |
| parent | 9f340b604b5ac3d19d330b7bd6a2d7355c58bc27 (diff) | |
Fix a bunch of compiler warnings and document several more bugs (#3130)
Diffstat (limited to 'src/d/d_lib.cpp')
| -rw-r--r-- | src/d/d_lib.cpp | 2 |
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) { |
