Have spectator always be in first person

Flying around in third person with no body is weird.
This commit is contained in:
Zack Middleton 2017-06-24 20:02:44 -05:00
parent c2ca5e7856
commit 7b9ccd1463

View file

@ -796,7 +796,8 @@ void CG_DrawActiveFrame( int serverTime, stereoFrame_t stereoView, qboolean demo
CG_PredictPlayerState();
// decide on third person view
cg.renderingThirdPerson = cg_thirdPerson.integer || (cg.snap->ps.stats[STAT_HEALTH] <= 0);
cg.renderingThirdPerson = cg.snap->ps.persistant[PERS_TEAM] != TEAM_SPECTATOR
&& (cg_thirdPerson.integer || (cg.snap->ps.stats[STAT_HEALTH] <= 0));
// build cg.refdef
inwater = CG_CalcViewValues();