From 37a19014e7cfc7253fe4712134c021137c6fe6a3 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 6 Nov 2026 03:10:13 +0000 Subject: [PATCH] Decompile fn_13096 (UIListBoxAgitMenu::Slot28) Batch #12922 by cremane: 1 byte-identical, 0 confirmed by peer review. - fn_13096 UIListBoxAgitMenu::Slot28: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/UI/Guild/UIAgitWnd.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/UI/Guild/UIAgitWnd.cpp b/Source/UI/Guild/UIAgitWnd.cpp index 45787ba4..03457e41 100644 --- a/Source/UI/Guild/UIAgitWnd.cpp +++ b/Source/UI/Guild/UIAgitWnd.cpp @@ -125,12 +125,12 @@ void UIListBoxAgitMenu::Slot28(int x, int y) { line = -1; } else { line = y / this->lineHeight; + if (line < 0) { line = 0; } - if (line > 1) { - line = 1; - } + + line = std::min(line, 1); } this->selected = line;