Patch by FruitieX -- fixes speed
authorsamual <samual@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 14 Sep 2009 18:38:59 +0000 (18:38 +0000)
committersamual <samual@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 14 Sep 2009 18:38:59 +0000 (18:38 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9195 d7cf8633-e32d-0410-b094-e92efae38249

csprogs.c

index 7f67ecb..1ee20b6 100644 (file)
--- a/csprogs.c
+++ b/csprogs.c
@@ -106,7 +106,7 @@ static void CSQC_SetGlobals (void)
                // CSQC is useless as it can't alter the view origin without
                // completely replacing it
                VectorCopy(cl.csqc_origin, prog->globals.client->pmove_org);
                // CSQC is useless as it can't alter the view origin without
                // completely replacing it
                VectorCopy(cl.csqc_origin, prog->globals.client->pmove_org);
-               VectorCopy(cl.velocity, prog->globals.client->pmove_vel);
+               VectorCopy(cl.movement_velocity, prog->globals.client->pmove_vel);
 
                if ((val = PRVM_GLOBALFIELDVALUE(prog->globaloffsets.view_angles)))
                        VectorCopy(cl.viewangles, val->vector);
 
                if ((val = PRVM_GLOBALFIELDVALUE(prog->globaloffsets.view_angles)))
                        VectorCopy(cl.viewangles, val->vector);