Decompile fn_12678 (UISelCharForUServerWnd::Paint)

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

- fn_12678 UISelCharForUServerWnd::Paint: logic confirmed by peer review

Peer-reviewed-by: Yommy, cremane
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 23:28:22 +00:00
commit d99a17df96

View file

@ -32,6 +32,7 @@
#include "Render/Text/TextContext.h"
#include "Client/Mode/CLoginMode.h"
#include "Client/Mode/CMode.h"
#include "Client/Mode/ModeMgr.h"
#include "Contents/Configuration/ServiceConfiguration.h"
#include "Render/DeviceContext/DCSurface.h"
#include "Render/Renderer.h"
@ -672,7 +673,7 @@ void UISelCharForUServerWnd::Paint() {
int offsetX = 0;
int offsetY = 0;
if (g_session.IsDoramJob(slot.job) == true) {
const auto* info = reinterpret_cast<const CharacterInfo*>(static_cast<CMode*>(g_charViewMode)->SendMsg(8, index, 0, 0, 0));
const auto* info = reinterpret_cast<const CharacterInfo*>(g_modeMgr.gameMode->SendMsg(8, index, 0, 0, 0));
int x = 0;
int y = 0;
int item = 0;