Change nullptr -> NULL (we're not C++11 on this branch).
This commit is contained in:
parent
ab1fb8309e
commit
369f96ddfb
@ -159,7 +159,7 @@ void CHalfLife2::InitLogicalEntData()
|
|||||||
|| SOURCE_ENGINE == SE_CSS \
|
|| SOURCE_ENGINE == SE_CSS \
|
||||||
|| SOURCE_ENGINE == SE_SDK2013
|
|| SOURCE_ENGINE == SE_SDK2013
|
||||||
|
|
||||||
if (g_SMAPI->GetServerFactory(false)("VSERVERTOOLS003", nullptr))
|
if (g_SMAPI->GetServerFactory(false)("VSERVERTOOLS003", NULL))
|
||||||
{
|
{
|
||||||
g_EntList = servertools->GetEntityList();
|
g_EntList = servertools->GetEntityList();
|
||||||
}
|
}
|
||||||
|
@ -291,7 +291,7 @@ void TempEntityManager::Initialize()
|
|||||||
|| SOURCE_ENGINE == SE_CSS \
|
|| SOURCE_ENGINE == SE_CSS \
|
||||||
|| SOURCE_ENGINE == SE_SDK2013
|
|| SOURCE_ENGINE == SE_SDK2013
|
||||||
|
|
||||||
if (g_SMAPI->GetServerFactory(false)("VSERVERTOOLS003", nullptr))
|
if (g_SMAPI->GetServerFactory(false)("VSERVERTOOLS003", NULL))
|
||||||
{
|
{
|
||||||
m_ListHead = servertools->GetTempEntList();
|
m_ListHead = servertools->GetTempEntList();
|
||||||
}
|
}
|
||||||
|
@ -136,7 +136,7 @@ void GetIServer()
|
|||||||
|| SOURCE_ENGINE == SE_CSS \
|
|| SOURCE_ENGINE == SE_CSS \
|
||||||
|| SOURCE_ENGINE == SE_SDK2013
|
|| SOURCE_ENGINE == SE_SDK2013
|
||||||
|
|
||||||
if (g_SMAPI->GetEngineFactory(false)("VEngineServer022", nullptr))
|
if (g_SMAPI->GetEngineFactory(false)("VEngineServer022", NULL))
|
||||||
{
|
{
|
||||||
iserver = engine->GetIServer();
|
iserver = engine->GetIServer();
|
||||||
return;
|
return;
|
||||||
|
@ -799,7 +799,7 @@ static cell_t FindEntityByClassname(IPluginContext *pContext, const cell_t *para
|
|||||||
|| SOURCE_ENGINE == SE_CSS \
|
|| SOURCE_ENGINE == SE_CSS \
|
||||||
|| SOURCE_ENGINE == SE_SDK2013
|
|| SOURCE_ENGINE == SE_SDK2013
|
||||||
|
|
||||||
static bool bHasServerTools3 = !!g_SMAPI->GetServerFactory(false)("VSERVERTOOLS003", nullptr);
|
static bool bHasServerTools3 = !!g_SMAPI->GetServerFactory(false)("VSERVERTOOLS003", NULL);
|
||||||
if (bHasServerTools3)
|
if (bHasServerTools3)
|
||||||
{
|
{
|
||||||
CBaseEntity *pStartEnt = NULL;
|
CBaseEntity *pStartEnt = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user