From: havoc Date: Sun, 15 Sep 2013 18:54:47 +0000 (+0000) Subject: set world.absmin and world.absmax in csqc X-Git-Tag: xonotic-v0.8.0~96^2~37 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e0f6398b3b10f91918de43bac33ea3ca093d33c8;p=xonotic%2Fdarkplaces.git set world.absmin and world.absmax in csqc git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12003 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/csprogs.c b/csprogs.c index fa5e690b..909a82cc 100644 --- a/csprogs.c +++ b/csprogs.c @@ -1138,6 +1138,8 @@ void CL_VM_Init (void) PRVM_clientedictstring(prog->edicts, message) = PRVM_SetEngineString(prog, cl.worldmessage); VectorCopy(cl.world.mins, PRVM_clientedictvector(prog->edicts, mins)); VectorCopy(cl.world.maxs, PRVM_clientedictvector(prog->edicts, maxs)); + VectorCopy(cl.world.mins, PRVM_clientedictvector(prog->edicts, absmin)); + VectorCopy(cl.world.maxs, PRVM_clientedictvector(prog->edicts, absmax)); // call the prog init prog->ExecuteProgram(prog, PRVM_clientfunction(CSQC_Init), "QC function CSQC_Init is missing");