From 53ddca7a8ef1824f42fa8e3f8914b115893d3660 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Mon, 28 Aug 2000 02:03:55 +0000 Subject: [PATCH] an even better fix (thanks, LordHavoc) --- source/cl_tent.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source/cl_tent.c b/source/cl_tent.c index 30fa985..4696621 100644 --- a/source/cl_tent.c +++ b/source/cl_tent.c @@ -348,7 +348,7 @@ CL_UpdateTEnts */ void CL_UpdateTEnts (void) { - int i,j; + int i; beam_t *b; vec3_t dist, org; float d; @@ -407,8 +407,7 @@ void CL_UpdateTEnts (void) ent->angles[1] = yaw; ent->angles[2] = rand()%360; - for (j=0 ; j<3 ; j++) - org[j] += dist[j]*30; + VectorMA(org, 30, dist, org); d -= 30; } }