diff --git a/libs/gamecode/pr_exec.c b/libs/gamecode/pr_exec.c index 500d5e922..5f9e09790 100644 --- a/libs/gamecode/pr_exec.c +++ b/libs/gamecode/pr_exec.c @@ -204,7 +204,7 @@ PR_EnterFunction (progs_t *pr, bfunction_t *f) for (; i < MAX_PARMS; i++) { if (pr->pr_params[i] != pr->pr_real_params[i]) { copy_param (pr->pr_real_params[i], pr->pr_params[i], - f->parm_size[i].size); + parmsize.size); } } }