mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-29 20:20:43 +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;
|
break;
|
||||||
case OP_JUMPB:
|
case OP_JUMPB:
|
||||||
//FIXME put bounds checking in
|
//FIXME put bounds checking in
|
||||||
pointer = OPA.integer_var + OPB.integer_var;
|
pointer = st->a + OPB.integer_var;
|
||||||
ptr = pr->pr_globals + pointer;
|
ptr = pr->pr_globals + pointer;
|
||||||
pointer = ptr->integer_var;
|
pointer = ptr->integer_var;
|
||||||
if (pr_boundscheck->int_val
|
if (pr_boundscheck->int_val
|
||||||
|
|
Loading…
Reference in a new issue