newer standards prefer nullptr over NULL - this is most of them but there are others too

This commit is contained in:
DarthArgus
2016-02-15 00:07:31 -06:00
parent 6bb5137dc4
commit 03dc62efba
937 changed files with 14983 additions and 14983 deletions
@@ -434,7 +434,7 @@ static const Scripting::ScriptFuncTable ScriptFuncList[] =
//-- finish it up
{Scripting::TRIG_LAST_TRIGGER, NULL, NULL}
{Scripting::TRIG_LAST_TRIGGER, nullptr, nullptr}
};
const int NUM_SCRIPT_FUNCTIONS = sizeof(ScriptFuncList) / sizeof(ScriptFuncList[0]) - 1;
@@ -444,7 +444,7 @@ const int NUM_SCRIPT_FUNCTIONS = sizeof(ScriptFuncList) / sizeof(ScriptFuncList[
// globals
//========================================================================
Scripting::_ScriptFuncHashMap *Scripting::ScriptFuncHashMap = NULL;
Scripting::_ScriptFuncHashMap *Scripting::ScriptFuncHashMap = nullptr;
//========================================================================
@@ -468,6 +468,6 @@ void Scripting::InitScriptFuncHashMap(void)
void Scripting::RemoveScriptFuncHashMap(void)
{
delete Scripting::ScriptFuncHashMap;
Scripting::ScriptFuncHashMap = NULL;
Scripting::ScriptFuncHashMap = nullptr;
}