From: havoc Date: Mon, 2 Dec 2002 04:52:47 +0000 (+0000) Subject: another bugfix for WORKINGLQUAKE code X-Git-Tag: RELEASE_0_2_0_RC1~34 X-Git-Url: http://git.xonotic.org/?a=commitdiff_plain;h=3a3aa7084a0065a5106a661cfbf73030d46108ae;p=xonotic%2Fdarkplaces.git another bugfix for WORKINGLQUAKE code git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2672 d7cf8633-e32d-0410-b094-e92efae38249 --- 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);