Another fix for build on non-windows.

This commit is contained in:
Nicholas Hastings 2013-08-29 10:12:44 -04:00
parent 404b1c5ed0
commit e8ce238eb7

View File

@ -179,7 +179,7 @@ void TF2Tools::SDK_OnUnload()
forwards->ReleaseForward(g_waitingPlayersEndForward);
forwards->ReleaseForward(g_teleportForward);
if (g_pSDKHooks != nullptr)
if (g_pSDKHooks != NULL)
{
g_pSDKHooks->RemoveEntityListener(&g_CritManager);
}
@ -190,7 +190,7 @@ void TF2Tools::SDK_OnAllLoaded()
SM_GET_LATE_IFACE(BINTOOLS, g_pBinTools);
SM_GET_LATE_IFACE(SDKHOOKS, g_pSDKHooks);
if (g_pSDKHooks != nullptr)
if (g_pSDKHooks != NULL)
{
g_pSDKHooks->AddEntityListener(&g_CritManager);
}