Add parentheses about binary-and

There wasn't a warning so it was probably fine?
This commit is contained in:
Zack Middleton 2023-12-09 22:45:25 -06:00
parent dc0fa02eb3
commit ae409da88b

View file

@ -739,7 +739,7 @@ static int CG_CalcViewValues( void ) {
VectorMA(cg.refdef.vieworg, ps->velocity[1], right, cg.refdef.vieworg);
VectorMA(cg.refdef.vieworg, ps->velocity[2], up, cg.refdef.vieworg);
}
else if (cgs.clientinfo[cg.snap->ps.clientNum].controlMode == CT_JOYSTICK || ps->pm_flags & PMF_FOLLOW ){
else if (cgs.clientinfo[cg.snap->ps.clientNum].controlMode == CT_JOYSTICK || ( ps->pm_flags & PMF_FOLLOW ) ){
float angle, f, scale;
VectorCopy( ps->viewangles, cg.refdefViewAngles );