mirror of
https://git.code.sf.net/p/quake/nuq
synced 2025-03-13 14:24:39 +00:00
an even better fix (thanks, LordHavoc)
This commit is contained in:
parent
64b7080691
commit
53ddca7a8e
1 changed files with 2 additions and 3 deletions
|
@ -348,7 +348,7 @@ CL_UpdateTEnts
|
||||||
*/
|
*/
|
||||||
void CL_UpdateTEnts (void)
|
void CL_UpdateTEnts (void)
|
||||||
{
|
{
|
||||||
int i,j;
|
int i;
|
||||||
beam_t *b;
|
beam_t *b;
|
||||||
vec3_t dist, org;
|
vec3_t dist, org;
|
||||||
float d;
|
float d;
|
||||||
|
@ -407,8 +407,7 @@ void CL_UpdateTEnts (void)
|
||||||
ent->angles[1] = yaw;
|
ent->angles[1] = yaw;
|
||||||
ent->angles[2] = rand()%360;
|
ent->angles[2] = rand()%360;
|
||||||
|
|
||||||
for (j=0 ; j<3 ; j++)
|
VectorMA(org, 30, dist, org);
|
||||||
org[j] += dist[j]*30;
|
|
||||||
d -= 30;
|
d -= 30;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue