Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Make CallFunctionScript properly return an array element.#69

Merged
korri123 merged 3 commits into
xNVSE:masterfrom
Demorome:Fix-CallFunctionScript-Result
Sep 4, 2021
Merged

Make CallFunctionScript properly return an array element.#69
korri123 merged 3 commits into
xNVSE:masterfrom
Demorome:Fix-CallFunctionScript-Result

Conversation

@Demorome

@Demorome Demorome commented Sep 4, 2021

Copy link
Copy Markdown
Contributor

For array-type UDF return values, CallFunctionScript used to make NVSEArrayVarInterface::Element *result into a numeric element (the array ID); it was calling the double constructor.

This has been fixed by using the NVSEArrayVarInterface::Array* constructor.

@korri123 korri123 merged commit 1432044 into xNVSE:master Sep 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants