From: havoc Date: Wed, 7 Jun 2006 04:52:25 +0000 (+0000) Subject: disabled loading of csprogs.dat if developer is less than 100 X-Git-Tag: xonotic-v0.1.0preview~3952 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f334c3df52f52a95dae092cbda507053d8cba7a9;p=xonotic%2Fdarkplaces.git disabled loading of csprogs.dat if developer is less than 100 git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6424 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/csprogs.c b/csprogs.c index f6758470..152b747f 100644 --- a/csprogs.c +++ b/csprogs.c @@ -512,11 +512,18 @@ void CL_VM_Init (void) return; } else + { + if (developer.integer < 100) + { + Con_DPrintf("CL_VM_Init: CSQC is broken, and is not being loaded because developer is less than 100.\n"); + return; + } if(!sv.active && !csqc_progcrc.integer) //[515]: because cheaters may use csqc while server didn't allowed it ! { Con_Printf("CL_VM_Init: server didn't sent CSQC crc, so CSQC is disabled\n"); return; } + } PRVM_Begin; PRVM_InitProg(PRVM_CLIENTPROG);