Merge pull request #16649 from ibrahn/visual-script-release-crash
fix for segfault when using CallBasic in visual script on release build
This commit is contained in:
commit
85c8953c9f
1 changed files with 1 additions and 1 deletions
|
@ -153,9 +153,9 @@ struct _VariantCall {
|
||||||
funcdata.func = p_func;
|
funcdata.func = p_func;
|
||||||
funcdata.default_args = p_defaultarg;
|
funcdata.default_args = p_defaultarg;
|
||||||
funcdata._const = p_const;
|
funcdata._const = p_const;
|
||||||
|
funcdata.returns = p_has_return;
|
||||||
#ifdef DEBUG_ENABLED
|
#ifdef DEBUG_ENABLED
|
||||||
funcdata.return_type = p_return;
|
funcdata.return_type = p_return;
|
||||||
funcdata.returns = p_has_return;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (p_argtype1.name) {
|
if (p_argtype1.name) {
|
||||||
|
|
Loading…
Reference in a new issue