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
@@ -224,7 +224,7 @@ void JNICALL ScriptMethodsInstallationNamespace::displayStructurePermissionData(
UNREF(self);
//get the player id from player
CreatureObject* creatureObject = NULL;
CreatureObject* creatureObject = nullptr;
if (!JavaLibrary::getObject(player, creatureObject))
return;
@@ -290,7 +290,7 @@ jfloat JNICALL ScriptMethodsInstallationNamespace::getPowerValue(JNIEnv *env, jo
UNREF(self);
//get the player id from player
const InstallationObject * installation = NULL;
const InstallationObject * installation = nullptr;
if (!JavaLibrary::getObject(target, installation))
return 0;
@@ -314,7 +314,7 @@ jboolean JNICALL ScriptMethodsInstallationNamespace::setPowerValue(JNIEnv *env,
UNREF(self);
//get the player id from player
InstallationObject * installation = NULL;
InstallationObject * installation = nullptr;
if (!JavaLibrary::getObject(target, installation))
return JNI_FALSE;
@@ -340,7 +340,7 @@ jboolean JNICALL ScriptMethodsInstallationNamespace::incrementPowerValue(JNIEnv
UNREF(self);
//get the player id from player
InstallationObject * installation = NULL;
InstallationObject * installation = nullptr;
if (!JavaLibrary::getObject(target, installation))
return JNI_FALSE;
@@ -365,7 +365,7 @@ jfloat JNICALL ScriptMethodsInstallationNamespace::getPowerRate(JNIEnv *env, job
UNREF(self);
//get the player id from player
const InstallationObject * installation = NULL;
const InstallationObject * installation = nullptr;
if (!JavaLibrary::getObject(target, installation))
return 0;
@@ -389,7 +389,7 @@ jboolean JNICALL ScriptMethodsInstallationNamespace::setPowerRate(JNIEnv *env, j
UNREF(self);
//get the player id from player
InstallationObject * installation = NULL;
InstallationObject * installation = nullptr;
if (!JavaLibrary::getObject(target, installation))
return JNI_FALSE;