Decompile fn_21323 (CGameMode::Update)

Batch #18243 by eAthena: 0 byte-identical, 1 confirmed by peer review.

- fn_21323 CGameMode::Update: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, alisonrag, bibinir
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 11:32:34 +00:00
commit 311d2e6a55
3 changed files with 3 additions and 3 deletions

View file

@ -8877,7 +8877,7 @@ void CGameMode::Update() {
this->DrawMiniMap();
g_windowMgr.DrawCenteredBackground();
g_windowMgr.DrawWindows();
g_mapInfoMgr->DrawMapName(*GetRenderSystemHolder()->system);
g_mapInfoMgr->DrawMapName();
if (this->scene->isPKZone != 0 || *reinterpret_cast<const int*>(&g_session.interactionFlags[0x08]) != 0) {
this->DrawMiniMapCoordinates();
this->DrawTimeAttackTimer();

View file

@ -211,7 +211,7 @@ bool CMapInfoMgr::LoadScript() {
// OFFSET: 0x006CF290
// FUNCTION: fn_06493
void CMapInfoMgr::DrawMapName(CRenderSystemBase& system) {
void CMapInfoMgr::DrawMapName() {
MapNameDisplay* display = this->m_display;
if (display == nullptr) {
return;

View file

@ -72,7 +72,7 @@ public:
const char* GetDisplayName(std::string map);
const char* GetSignSubName(std::string map);
bool LoadScript();
void DrawMapName(CRenderSystemBase& system);
void DrawMapName();
};
#if defined(_WIN32) && !defined(_WIN64)