mirror of
https://git.code.sf.net/p/quake/nuq
synced 2025-02-16 17:11:21 +00:00
fix this bug:) for (i...) { for (i...) }
dumb, dumb, dumb
This commit is contained in:
parent
63f498fdeb
commit
2b76b57a0b
1 changed files with 3 additions and 3 deletions
|
@ -348,7 +348,7 @@ CL_UpdateTEnts
|
||||||
*/
|
*/
|
||||||
void CL_UpdateTEnts (void)
|
void CL_UpdateTEnts (void)
|
||||||
{
|
{
|
||||||
int i;
|
int i,j;
|
||||||
beam_t *b;
|
beam_t *b;
|
||||||
vec3_t dist, org;
|
vec3_t dist, org;
|
||||||
float d;
|
float d;
|
||||||
|
@ -407,8 +407,8 @@ void CL_UpdateTEnts (void)
|
||||||
ent->angles[1] = yaw;
|
ent->angles[1] = yaw;
|
||||||
ent->angles[2] = rand()%360;
|
ent->angles[2] = rand()%360;
|
||||||
|
|
||||||
for (i=0 ; i<3 ; i++)
|
for (j=0 ; j<3 ; j++)
|
||||||
org[i] += dist[i]*30;
|
org[j] += dist[j]*30;
|
||||||
d -= 30;
|
d -= 30;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue