0
0
Fork 0
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:
Bill Currie 2001-08-06 00:27:41 +00:00
parent ebb03c1c65
commit 014e36dece

View file

@ -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);