summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorGilles Roudière <gilles.roudiere@gmail.com>2021-07-06 17:07:16 +0200
committerGilles Roudière <gilles.roudiere@gmail.com>2021-07-06 18:52:28 +0200
commit2f9a0268ddbf07ea3cd1eed320a4270c99165de5 (patch)
treedfe00c4b27ed4870c0d877677fc6aede66757866 /platform
parentd31cf83bb31b9fe8734863eec4c58f4d8f3ad908 (diff)
Increase the number of arguments accepted by UndoRedo methods
Diffstat (limited to 'platform')
-rw-r--r--platform/android/java_godot_lib_jni.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/android/java_godot_lib_jni.cpp b/platform/android/java_godot_lib_jni.cpp
index 4c66789a83..297b983bba 100644
--- a/platform/android/java_godot_lib_jni.cpp
+++ b/platform/android/java_godot_lib_jni.cpp
@@ -438,8 +438,8 @@ JNIEXPORT void JNICALL Java_org_godotengine_godot_GodotLib_calldeferred(JNIEnv *
env->DeleteLocalRef(obj);
};
- static_assert(VARIANT_ARG_MAX == 5, "This code needs to be updated if VARIANT_ARG_MAX != 5");
- obj->call_deferred(str_method, args[0], args[1], args[2], args[3], args[4]);
+ static_assert(VARIANT_ARG_MAX == 8, "This code needs to be updated if VARIANT_ARG_MAX != 8");
+ obj->call_deferred(str_method, args[0], args[1], args[2], args[3], args[4], args[5], args[6], args[7]);
// something
env->PopLocalFrame(nullptr);
}