mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 20:41:20 +00:00
[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:
parent
6552d76a5f
commit
87dd4ee33d
1 changed files with 0 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue