Decompile fn_07716 (UIMessengerGroupWnd::LayoutButtons)

Batch #17359 by eAthena: 0 byte-identical, 1 confirmed by peer review.

- fn_07716 UIMessengerGroupWnd::LayoutButtons: logic confirmed by peer review

Peer-reviewed-by: Yommy, alisonrag, bibinir
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
ragnarok-clanker 2026-11-11 22:00:42 +00:00
commit 80500bc276

View file

@ -1324,19 +1324,18 @@ void UIMessengerGroupWnd::LayoutButtons() {
int x;
if (this->mode == 1) {
const int offset = hidden * -26;
if (g_session.PartyCount()) {
this->buttons[10]->Move(offset + 213, this->geometry.height - 40);
this->buttons[9]->Move(offset + 161, this->geometry.height - 40);
this->buttons[8]->Move(offset + 187, this->geometry.height - 40);
this->buttons[10]->Move(hidden * -26 + 213, this->geometry.height - 40);
this->buttons[9]->Move(hidden * -26 + 161, this->geometry.height - 40);
this->buttons[8]->Move(hidden * -26 + 187, this->geometry.height - 40);
this->buttons[7]->Move(-100, -100);
} else {
this->buttons[10]->Move(-100, -100);
this->buttons[7]->Move(offset + 161, this->geometry.height - 40);
this->buttons[7]->Move(hidden * -26 + 161, this->geometry.height - 40);
this->buttons[8]->Move(-100, -100);
this->buttons[9]->Move(-100, -100);
}
x = offset + 135;
x = hidden * -26 + 135;
} else {
this->buttons[7]->Move(-100, -100);
this->buttons[8]->Move(-100, -100);