diff --git a/core/HalfLife2.cpp b/core/HalfLife2.cpp index bb443de3..3fa8308a 100644 --- a/core/HalfLife2.cpp +++ b/core/HalfLife2.cpp @@ -159,7 +159,7 @@ void CHalfLife2::InitLogicalEntData() || SOURCE_ENGINE == SE_CSS \ || SOURCE_ENGINE == SE_SDK2013 - if (g_SMAPI->GetServerFactory(false)("VSERVERTOOLS003", nullptr)) + if (g_SMAPI->GetServerFactory(false)("VSERVERTOOLS003", NULL)) { g_EntList = servertools->GetEntityList(); } diff --git a/extensions/sdktools/tempents.cpp b/extensions/sdktools/tempents.cpp index 2a41b7b0..09976dd3 100644 --- a/extensions/sdktools/tempents.cpp +++ b/extensions/sdktools/tempents.cpp @@ -291,7 +291,7 @@ void TempEntityManager::Initialize() || SOURCE_ENGINE == SE_CSS \ || SOURCE_ENGINE == SE_SDK2013 - if (g_SMAPI->GetServerFactory(false)("VSERVERTOOLS003", nullptr)) + if (g_SMAPI->GetServerFactory(false)("VSERVERTOOLS003", NULL)) { m_ListHead = servertools->GetTempEntList(); } diff --git a/extensions/sdktools/vglobals.cpp b/extensions/sdktools/vglobals.cpp index 54b533bd..f180d18e 100644 --- a/extensions/sdktools/vglobals.cpp +++ b/extensions/sdktools/vglobals.cpp @@ -136,7 +136,7 @@ void GetIServer() || SOURCE_ENGINE == SE_CSS \ || SOURCE_ENGINE == SE_SDK2013 - if (g_SMAPI->GetEngineFactory(false)("VEngineServer022", nullptr)) + if (g_SMAPI->GetEngineFactory(false)("VEngineServer022", NULL)) { iserver = engine->GetIServer(); return; diff --git a/extensions/sdktools/vnatives.cpp b/extensions/sdktools/vnatives.cpp index 3539ccb6..7d5d1c13 100644 --- a/extensions/sdktools/vnatives.cpp +++ b/extensions/sdktools/vnatives.cpp @@ -799,7 +799,7 @@ static cell_t FindEntityByClassname(IPluginContext *pContext, const cell_t *para || SOURCE_ENGINE == SE_CSS \ || SOURCE_ENGINE == SE_SDK2013 - static bool bHasServerTools3 = !!g_SMAPI->GetServerFactory(false)("VSERVERTOOLS003", nullptr); + static bool bHasServerTools3 = !!g_SMAPI->GetServerFactory(false)("VSERVERTOOLS003", NULL); if (bHasServerTools3) { CBaseEntity *pStartEnt = NULL;