Decompile fn_09309 (UIApplyForPartyWnd::Slot28)

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

- fn_09309 UIApplyForPartyWnd::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:23:34 +00:00
commit 8a7d1e26df

View file

@ -19,6 +19,7 @@
#include "UI/Text/UIStaticText.h"
#include "UI/Window/WindowManagerWindows.h"
#include "Client/Mode/CMode.h"
#include "Client/Mode/ModeMgr.h"
#include <cstdio>
@ -148,7 +149,7 @@ void UIApplyForPartyWnd::Slot28(int x, int y) {
int screenX = positions[index];
int screenY = 75;
this->ToScreen(screenX, screenY);
static_cast<CMode*>(g_charViewMode)->ShowTooltip(label, screenX, screenY, -1, false, true);
g_modeMgr.gameMode->ShowTooltip(label, screenX, screenY, -1, false, true);
}
break;