diff options
author | Gilles Roudière <gilles.roudiere@gmail.com> | 2021-07-06 17:07:16 +0200 |
---|---|---|
committer | Gilles Roudière <gilles.roudiere@gmail.com> | 2021-07-06 18:52:28 +0200 |
commit | 2f9a0268ddbf07ea3cd1eed320a4270c99165de5 (patch) | |
tree | dfe00c4b27ed4870c0d877677fc6aede66757866 /platform | |
parent | d31cf83bb31b9fe8734863eec4c58f4d8f3ad908 (diff) |
Increase the number of arguments accepted by UndoRedo methods
Diffstat (limited to 'platform')
-rw-r--r-- | platform/android/java_godot_lib_jni.cpp | 4 |
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); } |