Change nullptr -> NULL (we're not C++11 on this branch).

This commit is contained in:
Nicholas Hastings 2014-11-09 10:40:55 -05:00
parent ab1fb8309e
commit 369f96ddfb
4 changed files with 4 additions and 4 deletions

View File

@ -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();
} }

View File

@ -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();
} }

View File

@ -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;

View File

@ -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;