mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 18:01:15 +00:00
viewangles in the client doesn't seem to get updated for the client, so
use cl.viewangles instead.
This commit is contained in:
parent
ebb03c1c65
commit
014e36dece
1 changed files with 4 additions and 1 deletions
|
@ -1108,7 +1108,10 @@ CL_MuzzleFlash (void)
|
|||
|
||||
dl = R_AllocDlight (i);
|
||||
VectorCopy (pl->origin, dl->origin);
|
||||
AngleVectors (pl->viewangles, fv, rv, uv);
|
||||
if (i - 1 == cl.playernum)
|
||||
AngleVectors (cl.viewangles, fv, rv, uv);
|
||||
else
|
||||
AngleVectors (pl->viewangles, fv, rv, uv);
|
||||
|
||||
VectorMA (dl->origin, 18, fv, dl->origin);
|
||||
dl->radius = 200 + (rand () & 31);
|
||||
|
|
Loading…
Reference in a new issue