X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=prvm_edict.c;h=1959bc6d22b79d562e76894baff29b95afd79b95;hb=93783908b793eb2f1df1e705cc7d29489cf409b3;hp=3b8e3b81de917f7effa77193a3f827b4f81cc205;hpb=8087a359d03b91e84f29682ba4a36de26bf3513c;p=xonotic%2Fdarkplaces.git diff --git a/prvm_edict.c b/prvm_edict.c index 3b8e3b81..1959bc6d 100644 --- a/prvm_edict.c +++ b/prvm_edict.c @@ -46,10 +46,6 @@ cvar_t prvm_reuseedicts_neverinsameframe = {0, "prvm_reuseedicts_neverinsamefram static double prvm_reuseedicts_always_allow = 0; qboolean prvm_runawaycheck = true; -// LordHavoc: optional runtime bounds checking (speed drain, but worth it for security, on by default - breaks most QCCX features (used by CRMod and others)) -// enables detection of out of bounds memory access in the QuakeC code being run (in other words, prevents really exceedingly bad QuakeC code from doing nasty things to your computer) -qboolean prvm_boundscheck = true; - extern sizebuf_t vm_tempstringsbuf; //============================================================================ @@ -2716,9 +2712,6 @@ void PRVM_Init (void) Cmd_AddCommand ("menu_cmd", PRVM_GameCommand_Menu_f, "calls the menu QC function GameCommand with the supplied string as argument"); Cmd_AddCommand ("sv_cmd", PRVM_GameCommand_Server_f, "calls the server QC function GameCommand with the supplied string as argument"); - // COMMANDLINEOPTION: PRVM: -noboundscheck disables the bounds checks (security hole if CSQC is in use!) - prvm_boundscheck = !COM_CheckParm("-noboundscheck"); - Cvar_RegisterVariable (&prvm_language); Cvar_RegisterVariable (&prvm_traceqc); Cvar_RegisterVariable (&prvm_statementprofiling);