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:
parent
31bcca0e18
commit
666f9a2dbc
1 changed files with 3 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue