From 12d2a0ff75b4d63aca183324579f301d9a059302 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sun, 16 Feb 2020 17:58:36 +0900 Subject: [PATCH] Copy the correct number of words for rcall --- libs/gamecode/pr_exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } }