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:
ragnarok-clanker 2026-11-12 12:58:05 +00:00
commit 9fbfffd978

View file

@ -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();