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).
This commit is contained in:
ragnarok-clanker 2026-11-12 00:57:56 +00:00
commit e2d181f1e8

View file

@ -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<int>(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);