summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2007-09-16 21:50:35 +0000
committerTim Angus <tim@ngus.net>2007-09-16 21:50:35 +0000
commit1bfafb4aa17a057876cdd0b42b6ee1474b5ffce9 (patch)
tree95f19e48f70c3503cabb3bda00fd2580d5423cf3 /src
parentd102b33653c85fe635d9addf9513c16dce941584 (diff)
* && != &
Diffstat (limited to 'src')
-rw-r--r--src/cgame/cg_view.c4
1 files changed, 2 insertions, 2 deletions
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