diff --git a/core/systems/ForwardSys.cpp b/core/systems/ForwardSys.cpp index 9f0f25ce..2f6c39b2 100644 --- a/core/systems/ForwardSys.cpp +++ b/core/systems/ForwardSys.cpp @@ -209,6 +209,7 @@ CForward *CForward::CreateForward(const char *name, ExecType et, unsigned int nu } else { for (unsigned int i=0; im_types[i] = types[i]; + pForward->m_types[i] = _types[i]; } - if (num_params && types[num_params-1] == Param_VarArgs) + if (num_params && _types[num_params-1] == Param_VarArgs) { pForward->m_varargs = num_params--; } else {