mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-02-21 19:01:20 +00:00
fix this bug before it bites anyone :)
This commit is contained in:
parent
74c19068e5
commit
2464548ffd
1 changed files with 3 additions and 3 deletions
|
@ -357,7 +357,7 @@ CL_UpdateBeams
|
|||
*/
|
||||
void CL_UpdateBeams (void)
|
||||
{
|
||||
int i;
|
||||
int i,j;
|
||||
beam_t *b;
|
||||
vec3_t dist, org;
|
||||
float d;
|
||||
|
@ -415,8 +415,8 @@ void CL_UpdateBeams (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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue