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).
This commit is contained in:
ragnarok-clanker 2026-11-09 19:52:53 +00:00
commit 2f24eb2606

View file

@ -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);
}
}
}