Decompile fn_09205 (UIAchListWnd::SelectAchievement)
Batch #18315 by eAthena: 1 byte-identical, 0 confirmed by peer review. - fn_09205 UIAchListWnd::SelectAchievement: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
b315c33061
commit
9fbfffd978
1 changed files with 4 additions and 4 deletions
|
|
@ -69,11 +69,11 @@ void UIAchListWnd::SelectAchievement(int index) {
|
|||
this->selectedIndex = index;
|
||||
|
||||
if (this->parent) {
|
||||
int id = -1;
|
||||
if (static_cast<unsigned>(index) < this->ids.size()) {
|
||||
id = this->ids[index];
|
||||
if (this->ids.size() > static_cast<unsigned>(index)) {
|
||||
this->parent->SendMsg(this, UM_LIST_SELECTION, this->ids[index], 0, 0, 0);
|
||||
} else {
|
||||
this->parent->SendMsg(this, UM_LIST_SELECTION, -1, 0, 0, 0);
|
||||
}
|
||||
this->parent->SendMsg(this, UM_LIST_SELECTION, id, 0, 0, 0);
|
||||
}
|
||||
|
||||
this->Invalidate();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue