mirror of
https://github.com/godotengine/godot
synced 2024-09-05 06:18:39 +00:00
Fix #4748: proper call to base class function
This commit is contained in:
parent
e56f05c690
commit
7caabd9398
|
@ -812,7 +812,7 @@ Variant GDFunction::call(GDInstance *p_instance, const Variant **p_args, int p_a
|
|||
|
||||
if (E) {
|
||||
|
||||
*dst=((GDFunction*)&E->get())->call(p_instance,(const Variant**)argptrs,argc,err);
|
||||
*dst=E->get()->call(p_instance,(const Variant**)argptrs,argc,err);
|
||||
} else if (gds->native.ptr()) {
|
||||
|
||||
if (*methodname!=GDScriptLanguage::get_singleton()->strings._init) {
|
||||
|
|
Loading…
Reference in a new issue