From 2b76b57a0b956795f12c85caed17e9cec12e0c6b Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Mon, 28 Aug 2000 01:46:37 +0000 Subject: [PATCH] fix this bug:) for (i...) { for (i...) } dumb, dumb, dumb --- source/cl_tent.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/cl_tent.c b/source/cl_tent.c index 0076f83..30fa985 100644 --- a/source/cl_tent.c +++ b/source/cl_tent.c @@ -348,7 +348,7 @@ CL_UpdateTEnts */ void CL_UpdateTEnts (void) { - int i; + int i,j; beam_t *b; vec3_t dist, org; float d; @@ -407,8 +407,8 @@ void CL_UpdateTEnts (void) ent->angles[1] = yaw; ent->angles[2] = rand()%360; - for (i=0 ; i<3 ; i++) - org[i] += dist[i]*30; + for (j=0 ; j<3 ; j++) + org[j] += dist[j]*30; d -= 30; } }