summaryrefslogtreecommitdiff
path: root/src/cgame/cg_view.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgame/cg_view.c')
-rw-r--r--src/cgame/cg_view.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cgame/cg_view.c b/src/cgame/cg_view.c
index 9145b32..783a1e2 100644
--- a/src/cgame/cg_view.c
+++ b/src/cgame/cg_view.c
@@ -1439,6 +1439,9 @@ void CG_DrawActiveFrame( int serverTime, stereoFrame_t stereoView, qboolean demo
cg.renderingThirdPerson = ( cg_thirdPerson.integer || ( cg.snap->ps.stats[ STAT_HEALTH ] <= 0 ) ||
( cg.chaseFollow && cg.snap->ps.pm_flags & PMF_FOLLOW) );
+ cg.warping = ( cg.predictedPlayerEntity.currentState.eFlags & EF_WARPING ) &&
+ cg.predictedPlayerState.weapon == WP_ALEVEL1;
+
// update speedometer
CG_AddSpeed( );