From e0f6398b3b10f91918de43bac33ea3ca093d33c8 Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 15 Sep 2013 18:54:47 +0000 Subject: [PATCH] set world.absmin and world.absmax in csqc git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12003 d7cf8633-e32d-0410-b094-e92efae38249 --- csprogs.c | 2 ++ 1 file changed, 2 insertions(+) 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"); -- 2.39.2