mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
move the correct amount of bytes (I keep forgetting the * 4 :P)
This commit is contained in:
parent
8fc17d27a8
commit
aad04efe25
1 changed files with 3 additions and 2 deletions
|
@ -890,11 +890,12 @@ PR_ExecuteProgram (progs_t * pr, func_t fnum)
|
|||
break;
|
||||
|
||||
case OP_MOVE:
|
||||
memmove (&OPC, &OPA, st->b);
|
||||
memmove (&OPC, &OPA, st->b * 4);
|
||||
break;
|
||||
case OP_MOVEP:
|
||||
memmove (pr->pr_globals + OPC.integer_var,
|
||||
pr->pr_globals + OPA.integer_var, OPB.uinteger_var);
|
||||
pr->pr_globals + OPA.integer_var,
|
||||
OPB.uinteger_var * 4);
|
||||
break;
|
||||
|
||||
// LordHavoc: to be enabled when Progs version 7 (or whatever it will be numbered) is finalized
|
||||
|
|
Loading…
Reference in a new issue