From 2f24eb2606be1d0fa5d146fb87f5f750aeb88926 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Mon, 9 Nov 2026 19:52:53 +0000 Subject: [PATCH] Decompile fn_06496 (CMapInfoMgr::L_AddMapDisplayName) Batch #15274 by codeplay: 0 byte-identical, 1 confirmed by peer review. - fn_06496 CMapInfoMgr::L_AddMapDisplayName: logic confirmed by peer review Peer-reviewed-by: eAthena, Yommy Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Contents/MapInfoMgr.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Contents/MapInfoMgr.cpp b/Source/Contents/MapInfoMgr.cpp index 400676cce..9a4df61eb 100644 --- a/Source/Contents/MapInfoMgr.cpp +++ b/Source/Contents/MapInfoMgr.cpp @@ -287,7 +287,8 @@ int CMapInfoMgr::L_AddMapDisplayName(lua_State* state) { const bool show = lua_toboolean(state, -1) > 0; lua_pushboolean(state, 1); lua_pushstring(state, "good"); - g_mapInfoMgr->AddMapDisplayName(map, name, show); + CMapInfoMgr* const manager = g_mapInfoMgr; + manager->AddMapDisplayName(map, name, show); } } }