]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_particles.c
another bugfix for WORKINGLQUAKE code
[xonotic/darkplaces.git] / 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);