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)