]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
another bugfix for WORKINGLQUAKE code
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 2 Dec 2002 04:52:47 +0000 (04:52 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 2 Dec 2002 04:52:47 +0000 (04:52 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2672 d7cf8633-e32d-0410-b094-e92efae38249

cl_particles.c

index d5940d17b782c48564c509b06a4c3ba45e6c405b..4a8263d002e38f6122eb2933208e4556123a7bb2 100644 (file)
@@ -159,14 +159,13 @@ float CL_TraceLine (vec3_t start, vec3_t end, vec3_t impact, vec3_t normal, int
 #else
        trace_t trace;
 #endif
-       vec3_t start_l, end_l;
        memset (&trace, 0, sizeof(trace));
        trace.fraction = 1;
        VectorCopy (end, trace.endpos);
 #if QW
-       PM_RecursiveHullCheck (cl.model_precache[1]->hulls, 0, 0, 1, start_l, end_l, &trace);
+       PM_RecursiveHullCheck (cl.model_precache[1]->hulls, 0, 0, 1, start, end, &trace);
 #else
-       RecursiveHullCheck (cl.worldmodel->hulls, 0, 0, 1, start_l, end_l, &trace);
+       RecursiveHullCheck (cl.worldmodel->hulls, 0, 0, 1, start, end, &trace);
 #endif
        VectorCopy(trace.endpos, impact);
        VectorCopy(trace.plane.normal, normal);