mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
implement jumpb correctly
This commit is contained in:
parent
b38486d405
commit
98beb38540
1 changed files with 1 additions and 1 deletions
|
@ -649,7 +649,7 @@ PR_ExecuteProgram (progs_t * pr, func_t fnum)
|
|||
break;
|
||||
case OP_JUMPB:
|
||||
//FIXME put bounds checking in
|
||||
pointer = OPA.integer_var + OPB.integer_var;
|
||||
pointer = st->a + OPB.integer_var;
|
||||
ptr = pr->pr_globals + pointer;
|
||||
pointer = ptr->integer_var;
|
||||
if (pr_boundscheck->int_val
|
||||
|
|
Loading…
Reference in a new issue