Fix the funky roll angle glitch.

Introduced in the cl_view merging :/
This commit is contained in:
Bill Currie 2012-06-26 20:38:15 +09:00
parent f962db1820
commit 53212deb61

View file

@ -581,7 +581,7 @@ V_CalcViewRoll (void)
{
float side;
vec_t *angles = cl_entities[cl.viewentity].angles;
vec_t *velocity = cl_entities[cl.viewentity].angles;
vec_t *velocity = cl.velocity;
side = V_CalcRoll (angles, velocity);
r_data->refdef->viewangles[ROLL] += side;