Skip to content

Commit

Permalink
Fix bug in DynaCall
Browse files Browse the repository at this point in the history
  • Loading branch information
HotKeyIt committed Dec 2, 2016
1 parent 46e977a commit 64d9240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/script2.cpp
Expand Up @@ -12425,7 +12425,7 @@ ResultType STDMETHODCALLTYPE DynaToken::Invoke(
}
if (this_param.symbol != SYM_VAR) // Output parameters are copied back only if its counterpart parameter is a naked variable.
continue;
DYNAPARM &this_dyna_param = this->mdyna_param[(this->paramshift[0] > 0) ? this->paramshift[arg_count+1] : arg_count]; // Resolved for performance and convenience.
DYNAPARM &this_dyna_param = this->mdyna_param[this->paramshift[i]]; // Resolved for performance and convenience.
Var &output_var = *this_param.var; //
if (this_dyna_param.type == DLL_ARG_STR) // Native string type for current build config.
{
Expand Down

0 comments on commit 64d9240

Please sign in to comment.