From 1bfafb4aa17a057876cdd0b42b6ee1474b5ffce9 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sun, 16 Sep 2007 21:50:35 +0000 Subject: * && != & --- src/cgame/cg_view.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cgame') diff --git a/src/cgame/cg_view.c b/src/cgame/cg_view.c index dfd9e34b..62d86cf9 100644 --- a/src/cgame/cg_view.c +++ b/src/cgame/cg_view.c @@ -1265,9 +1265,9 @@ void CG_DrawActiveFrame( int serverTime, stereoFrame_t stereoView, qboolean demo cg.renderingThirdPerson = cg_thirdPerson.integer || ( cg.snap->ps.stats[ STAT_HEALTH ] <= 0 ); // Infer when we first became boosted - if( cg.snap->ps.stats[ STAT_STATE ] && SS_BOOSTED && cg.boostedTime < 0 ) + if( ( cg.snap->ps.stats[ STAT_STATE ] & SS_BOOSTED ) && cg.boostedTime < 0 ) cg.boostedTime = cg.time; - else if( !( cg.snap->ps.stats[ STAT_STATE ] && SS_BOOSTED ) && cg.boostedTime >= 0 ) + else if( !( cg.snap->ps.stats[ STAT_STATE ] & SS_BOOSTED ) && cg.boostedTime >= 0 ) cg.boostedTime = -1; // build cg.refdef -- cgit