Skip to content

Commit 94e2967

Browse files
Synchronize changes from 1.6 master branch [ci skip]
5831777 Merge branch 'master' of https://github.com/multitheftauto/mtasa-blue 47e0492 Part 4 of "Rewrite crash handler"
2 parents a2ded5e + 5831777 commit 94e2967

File tree

11 files changed

+698
-478
lines changed

11 files changed

+698
-478
lines changed

Client/core/CCore.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -993,11 +993,7 @@ T* InitModule(CModuleLoader& m_Loader, const SString& strName, const SString& st
993993
}
994994

995995
// If we have a valid initializer, call it.
996-
T* pResult = nullptr;
997-
if (pfnInit != nullptr)
998-
{
999-
pResult = pfnInit(pObj);
1000-
}
996+
T* pResult = pfnInit(pObj);
1001997

1002998
// Restore current directory
1003999
SetCurrentDirectory(strSavedCwd);

0 commit comments

Comments
 (0)