[gamecode] Remove some rather strange code

As indicated, I have no idea why the code was like that, but removing it
seems to have no effect as it seems to copy the data in the wrong
direction.
This commit is contained in:
Bill Currie 2022-10-15 14:44:54 +09:00
parent 6552d76a5f
commit 87dd4ee33d

View file

@ -109,9 +109,6 @@ _PR_SaveParams (progs_t *pr, pr_stashed_params_t *params)
for (i = 0; i < pr->pr_argc; i++) {
memcpy (params->params + i * pr->pr_param_size,
pr->pr_real_params[i], size);
if (i < 2) { //XXX FIXME what the what?!?
memcpy (pr->pr_real_params[i], params->param_ptrs[0], size);
}
}
params->argc = pr->pr_argc;
return params;