Decompile fn_05434 (CRenewQuestMgr::Create)
Batch #12742 by cremane: 1 byte-identical, 0 confirmed by peer review. - fn_05434 CRenewQuestMgr::Create: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
f2fa88114b
commit
8337288eff
1 changed files with 5 additions and 4 deletions
|
|
@ -136,12 +136,13 @@ bool CRenewQuestMgr::Create() {
|
|||
if (g_renewQuestMgr == nullptr) {
|
||||
g_renewQuestMgr = new (std::nothrow) CRenewQuestMgr();
|
||||
if (g_renewQuestMgr != nullptr) {
|
||||
if (g_renewQuestMgr->m_initialized) {
|
||||
return true;
|
||||
if (!g_renewQuestMgr->m_initialized) {
|
||||
delete g_renewQuestMgr;
|
||||
g_renewQuestMgr = nullptr;
|
||||
return false;
|
||||
}
|
||||
|
||||
delete g_renewQuestMgr;
|
||||
g_renewQuestMgr = nullptr;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue