diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2016-05-23 13:29:38 +0200 |
---|---|---|
committer | Rémi Verschelde <remi@verschelde.fr> | 2016-05-23 13:29:38 +0200 |
commit | 8a6933afb1c8a5e70fbc580a5d06b1f798f760a9 (patch) | |
tree | 16c706e5ccb2a48e7f3bfc7e5c015fc43ba2129a | |
parent | 29d9eb02b9b96df9542523665947bc7b18ec80b2 (diff) | |
parent | 7caabd939867ac55db8a8c3973442b8a385762b7 (diff) |
Merge pull request #4772 from iap-mutant/PR-fix4748
Fix #4748: proper call to base class function
-rw-r--r-- | modules/gdscript/gd_script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gd_script.cpp b/modules/gdscript/gd_script.cpp index cd5e35db31..b1919b3468 100644 --- a/modules/gdscript/gd_script.cpp +++ b/modules/gdscript/gd_script.cpp @@ -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) { |