Decompile fn_13621 (BasicInfoWndInfo::IsValid)

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

- fn_13621 BasicInfoWndInfo::IsValid: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, Yommy, 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-12 10:48:56 +00:00
commit 666f9a2dbc

View file

@ -74,14 +74,12 @@ int BasicInfoWndInfo::IsValid() {
return 0;
}
if (this->height == 55 || this->height == 71) {
this->expanded = 0;
} else if (this->height == 134 || this->height == 149) {
this->expanded = 1;
} else {
if (this->height != 55 && this->height != 134 && this->height != 71 && this->height != 149) {
return 0;
}
this->expanded = this->height == 134 || this->height == 149;
if (g_session.IsTreeGroupThree(g_session.GetDisplayJob()) == true) {
if (this->height != 71 && this->height != 149) {
return 0;