mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-08-03 04:19:20 -04:00
newer standards prefer nullptr over NULL - this is most of them but there are others too
This commit is contained in:
@@ -310,7 +310,7 @@ jboolean JNICALL ScriptMethodsMentalStatesNamespace::addMentalStateModifier(JNIE
|
||||
* @param mob id of creature to access
|
||||
* @param mentalState mental state we are interested in
|
||||
*
|
||||
* @return the mental state modifiers for the creature, or null if it has none
|
||||
* @return the mental state modifiers for the creature, or nullptr if it has none
|
||||
*/
|
||||
jobjectArray JNICALL ScriptMethodsMentalStatesNamespace::getMentalStateModifiers(JNIEnv *env, jobject self, jlong mob, jint mentalState)
|
||||
{
|
||||
@@ -697,7 +697,7 @@ jboolean JNICALL ScriptMethodsMentalStatesNamespace::addMentalStateModifierTowar
|
||||
* @param mob id of creature to access
|
||||
* @param mentalState mental state we are interested in
|
||||
*
|
||||
* @return the mental state modifiers for the creature, or null if it has none
|
||||
* @return the mental state modifiers for the creature, or nullptr if it has none
|
||||
*/
|
||||
jobjectArray JNICALL ScriptMethodsMentalStatesNamespace::getMentalStateModifiersToward(JNIEnv *env, jobject self, jlong mob, jlong target, jint mentalState)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user