From 3a3aa7084a0065a5106a661cfbf73030d46108ae Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 2 Dec 2002 04:52:47 +0000 Subject: [PATCH] another bugfix for WORKINGLQUAKE code git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2672 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_particles.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cl_particles.c b/cl_particles.c index d5940d17..4a8263d0 100644 --- a/cl_particles.c +++ b/cl_particles.c @@ -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); -- 2.39.2