From 311d2e6a5564fab3e47f9e45678fbb4a9c970ea9 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 12 Nov 2026 11:32:34 +0000 Subject: [PATCH] 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). --- Source/Client/Mode/GameMode.cpp | 2 +- Source/Contents/Map/MapInfoMgr.cpp | 2 +- Source/Contents/Map/MapInfoMgr.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Client/Mode/GameMode.cpp b/Source/Client/Mode/GameMode.cpp index 0cc8f148f..fbf1cbac6 100644 --- a/Source/Client/Mode/GameMode.cpp +++ b/Source/Client/Mode/GameMode.cpp @@ -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(&g_session.interactionFlags[0x08]) != 0) { this->DrawMiniMapCoordinates(); this->DrawTimeAttackTimer(); diff --git a/Source/Contents/Map/MapInfoMgr.cpp b/Source/Contents/Map/MapInfoMgr.cpp index 292f296c6..d5e706cb9 100644 --- a/Source/Contents/Map/MapInfoMgr.cpp +++ b/Source/Contents/Map/MapInfoMgr.cpp @@ -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; diff --git a/Source/Contents/Map/MapInfoMgr.h b/Source/Contents/Map/MapInfoMgr.h index 3c981cce2..a38b52c0b 100644 --- a/Source/Contents/Map/MapInfoMgr.h +++ b/Source/Contents/Map/MapInfoMgr.h @@ -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)