From 3e32a27c3508a1e503690102245b4df886bab303 Mon Sep 17 00:00:00 2001
From: Roman Tetelman <kevlarman@gmail.com>
Date: Sat, 3 Oct 2009 12:14:09 +0000
Subject: * more thirdpersonspec fixes (Lakitu7)

---
 src/cgame/cg_view.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src')

diff --git a/src/cgame/cg_view.c b/src/cgame/cg_view.c
index 3e873d9d..721083c0 100644
--- a/src/cgame/cg_view.c
+++ b/src/cgame/cg_view.c
@@ -1278,7 +1278,7 @@ void CG_DrawActiveFrame( int serverTime, stereoFrame_t stereoView, qboolean demo
 
   // decide on third person view
   cg.renderingThirdPerson = ( cg_thirdPerson.integer || ( cg.snap->ps.stats[ STAT_HEALTH ] <= 0 ) || 
-                            ( cg.thirdPersonFollow ) );
+                            ( cg.thirdPersonFollow && cg.snap->ps.pm_flags && PMF_FOLLOW) );
 
   // build cg.refdef
   inwater = CG_CalcViewValues( );
-- 
cgit