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:
parent
f376311b5f
commit
3c494242fd
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue