mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-03-13 11:43:29 +00:00
d'oh, forgot to remove the surrounding if(pr_boundscheck) :/
This commit is contained in:
parent
56656df96a
commit
0974d76447
1 changed files with 566 additions and 568 deletions
|
@ -406,7 +406,6 @@ PR_ExecuteProgram (func_t fnum)
|
||||||
st = &pr_statements[PR_EnterFunction (f)];
|
st = &pr_statements[PR_EnterFunction (f)];
|
||||||
startprofile = profile = 0;
|
startprofile = profile = 0;
|
||||||
|
|
||||||
if (pr_boundscheck->int_val) {
|
|
||||||
while (1) {
|
while (1) {
|
||||||
st++;
|
st++;
|
||||||
if (++profile > 1000000) // LordHavoc: increased runaway loop
|
if (++profile > 1000000) // LordHavoc: increased runaway loop
|
||||||
|
@ -992,7 +991,6 @@ PR_ExecuteProgram (func_t fnum)
|
||||||
PR_RunError ("Bad opcode %i", st->op);
|
PR_RunError ("Bad opcode %i", st->op);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
char *pr_strtbl[MAX_PRSTR];
|
char *pr_strtbl[MAX_PRSTR];
|
||||||
|
|
Loading…
Reference in a new issue