From 666f9a2dbcec718b02ff1b737e96bf5ae7dc7cb2 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 12 Nov 2026 10:48:56 +0000 Subject: [PATCH] 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). --- Source/Contents/UserData/NormalItemSlots.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Source/Contents/UserData/NormalItemSlots.cpp b/Source/Contents/UserData/NormalItemSlots.cpp index 54d1260e9..191836fca 100644 --- a/Source/Contents/UserData/NormalItemSlots.cpp +++ b/Source/Contents/UserData/NormalItemSlots.cpp @@ -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;