Decompile fn_13096 (UIListBoxAgitMenu::Slot28)
Batch #12922 by cremane: 1 byte-identical, 0 confirmed by peer review. - fn_13096 UIListBoxAgitMenu::Slot28: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
67ac53616e
commit
37a19014e7
1 changed files with 3 additions and 3 deletions
|
|
@ -125,12 +125,12 @@ void UIListBoxAgitMenu::Slot28(int x, int y) {
|
|||
line = -1;
|
||||
} else {
|
||||
line = y / this->lineHeight;
|
||||
|
||||
if (line < 0) {
|
||||
line = 0;
|
||||
}
|
||||
if (line > 1) {
|
||||
line = 1;
|
||||
}
|
||||
|
||||
line = std::min(line, 1);
|
||||
}
|
||||
|
||||
this->selected = line;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue