We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e57276 commit 7062ffeCopy full SHA for 7062ffe
src/extension.cpp
@@ -185,7 +185,7 @@ const char* StripperCS2::GetLicense()
185
186
const char* StripperCS2::GetVersion()
187
{
188
- return "1.0.1";
+ return "1.0.2";
189
}
190
191
const char* StripperCS2::GetDate()
src/hook.cpp
@@ -72,7 +72,9 @@ namespace Hook
72
73
CSingleWorldRep* Detour_CreateWorldInternal(IWorldRendererMgr* pThis, CSingleWorldRep* singleWorld)
74
75
- g_pCreateWorldInternal(pThis, singleWorld);
+ // The world can fail to be created and the function will return nullptr.
76
+ if (!g_pCreateWorldInternal(pThis, singleWorld))
77
+ return nullptr;
78
79
auto pWorld = singleWorld->m_pCWorld;
80
0 commit comments