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.
This commit is contained in:
ragnarok-clanker 2026-11-06 00:59:43 +00:00
commit 3c494242fd

View file

@ -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;
}