Decompile fn_06486 (CMapInfoMgr::Create)

Batch #12741 by cremane: 1 byte-identical, 0 confirmed by peer review.

- fn_06486 CMapInfoMgr::Create: byte-identical

Merged automatically: every function is byte-identical to the original.
This commit is contained in:
ragnarok-clanker 2026-11-06 00:22:42 +00:00
commit f2fa88114b

View file

@ -93,12 +93,13 @@ bool CMapInfoMgr::Create() {
if (g_mapInfoMgr == nullptr) {
g_mapInfoMgr = new (std::nothrow) CMapInfoMgr();
if (g_mapInfoMgr != nullptr) {
if (g_mapInfoMgr->m_initialized) {
return true;
if (!g_mapInfoMgr->m_initialized) {
delete g_mapInfoMgr;
g_mapInfoMgr = nullptr;
return false;
}
delete g_mapInfoMgr;
g_mapInfoMgr = nullptr;
return true;
}
}