Decompile fn_11582 (UITabControl::SetFlag)
Batch #5167 by Yommy: 0 byte-identical, 1 confirmed by peer review. - fn_11582 UITabControl::SetFlag: logic confirmed by peer review Peer-reviewed-by: eAthena, alisonrag Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
6080129d1e
commit
d74b236b8e
1 changed files with 6 additions and 0 deletions
|
|
@ -426,6 +426,12 @@ void UITabControl::ClearTabs() {
|
|||
}
|
||||
|
||||
// OFFSET: 0x0089C1B0
|
||||
// FUNCTION: fn_11582
|
||||
void UITabControl::SetFlag(int index, bool value) {
|
||||
if (index >= 0 && index < static_cast<int>(this->labels.size())) {
|
||||
this->flags[index] = value;
|
||||
}
|
||||
}
|
||||
|
||||
// OFFSET: 0x00880B20
|
||||
// FUNCTION: fn_11283
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue