From e2d181f1e8210dc017abfff6da0cfe394949f048 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 12 Nov 2026 00:57:56 +0000 Subject: [PATCH] Decompile fn_04166 (UILapineBoxWnd::OnMouseHover) Batch #17568 by cremane: 0 byte-identical, 1 confirmed by peer review. - fn_04166 UILapineBoxWnd::OnMouseHover: logic confirmed by peer review Peer-reviewed-by: eAthena, Yommy Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Items/UILapineBoxWnd.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/UI/Items/UILapineBoxWnd.cpp b/Source/UI/Items/UILapineBoxWnd.cpp index 714cac832..8796b98db 100644 --- a/Source/UI/Items/UILapineBoxWnd.cpp +++ b/Source/UI/Items/UILapineBoxWnd.cpp @@ -136,8 +136,7 @@ void UILapineBoxWnd::OnMouseHover(int x, int y) { if (item.identity[1] != 0) { int tipX = 0; int tipY = -20; - const int count = static_cast(this->items.size()); - for (int index = 0; index < count; ++index) { + for (unsigned int index = 0; index < this->items.size(); ++index) { if (this->items[index].identity[1] == item.identity[1]) { int position[2] = {0, 0}; this->MaterialPosition(position, index);