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:
parent
f3198e5099
commit
f2fa88114b
1 changed files with 5 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue