Decompile fn_09916 (UIRefiningWnd::Slot28)

Batch #10872 by dori: 0 byte-identical, 1 confirmed by peer review.

- fn_09916 UIRefiningWnd::Slot28: logic confirmed by peer review

Peer-reviewed-by: Tanke, cremane, StrawberrysherbetIX
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-04 18:19:19 +00:00
commit aa44f623de

View file

@ -539,7 +539,7 @@ void UIRefiningWnd::Slot28(int x, int y) {
int tipX = 81;
int tipY = 150;
this->ToScreen(tipX, tipY);
static_cast<CMode*>(g_charViewMode)->ShowTooltip(name, tipX, tipY - 20, -1, false, true);
g_modeMgr.gameMode->ShowTooltip(name, tipX, tipY - 20, -1, false, true);
return;
}
@ -551,7 +551,7 @@ void UIRefiningWnd::Slot28(int x, int y) {
int tipX = 161;
int tipY = 150;
this->ToScreen(tipX, tipY);
static_cast<CMode*>(g_charViewMode)->ShowTooltip(name, tipX, tipY - 20, -1, false, true);
g_modeMgr.gameMode->ShowTooltip(name, tipX, tipY - 20, -1, false, true);
return;
}
@ -580,7 +580,7 @@ void UIRefiningWnd::Slot28(int x, int y) {
int tipX = slot * 49 + 11;
int tipY = 35;
this->ToScreen(tipX, tipY);
static_cast<CMode*>(g_charViewMode)->ShowTooltip(name, tipX, tipY, -1, false, true);
g_modeMgr.gameMode->ShowTooltip(name, tipX, tipY, -1, false, true);
}
}