From 55a2649f5174bb9ed0abc2a9447f668af308af30 Mon Sep 17 00:00:00 2001 From: Dethrace Labs <78985374+dethrace-labs@users.noreply.github.com> Date: Tue, 10 Feb 2026 20:18:15 +1300 Subject: [PATCH] CycleAccRotate matching --- src/DETHRACE/common/world.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/DETHRACE/common/world.c b/src/DETHRACE/common/world.c index cc83ec7c..3be6a55f 100644 --- a/src/DETHRACE/common/world.c +++ b/src/DETHRACE/common/world.c @@ -5003,8 +5003,9 @@ void RotateAccR4(void) { // IDA: void __cdecl CycleAccRotate() // FUNCTION: CARM95 0x004449c6 void CycleAccRotate(void) { - - gCurrent_rotate_mode = (gCurrent_rotate_mode == eRotate_mode_z) ? eRotate_mode_x : (gCurrent_rotate_mode + 1); + if (gCurrent_rotate_mode++ == eRotate_mode_z) { + gCurrent_rotate_mode = eRotate_mode_x; + } switch (gCurrent_rotate_mode) { case eRotate_mode_x: NewTextHeadupSlot(eHeadupSlot_misc, 0, 2000, -2, "Rotate mode: X");