From ae409da88b8ea421dc6fb7800a972e12a908ed51 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Sat, 9 Dec 2023 22:45:25 -0600 Subject: [PATCH] Add parentheses about binary-and There wasn't a warning so it was probably fine? --- engine/code/cgame/cg_view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/code/cgame/cg_view.c b/engine/code/cgame/cg_view.c index 66c759a8..d8601916 100644 --- a/engine/code/cgame/cg_view.c +++ b/engine/code/cgame/cg_view.c @@ -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 );