From 3c494242fd8fb87a747f104f2e4409ad1c15ffb9 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 6 Nov 2026 00:59:43 +0000 Subject: [PATCH] Decompile fn_23821 (CSession::RotateShortcut) Batch #12807 by cremane: 1 byte-identical, 0 confirmed by peer review. - fn_23821 CSession::RotateShortcut: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/UI/Shortcuts/ShortcutBindings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/UI/Shortcuts/ShortcutBindings.cpp b/Source/UI/Shortcuts/ShortcutBindings.cpp index 289910a9..0cd67704 100644 --- a/Source/UI/Shortcuts/ShortcutBindings.cpp +++ b/Source/UI/Shortcuts/ShortcutBindings.cpp @@ -22,7 +22,7 @@ int CSession::RotateShortcut(int index, int bank) const { if (rotation != 0) { const int value = index + 9 * rotation; - return value < 36 ? value : value - 36; + return value >= 36 ? value - 36 : value; } return index; }