Skip to content

Commit

Permalink
Have spectator always be in first person
Browse files Browse the repository at this point in the history
Flying around in third person with no body is weird.
  • Loading branch information
zturtleman committed Jun 25, 2017
1 parent c2ca5e7 commit 7b9ccd1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/cgame/cg_view.c
Expand Up @@ -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();
Expand Down

0 comments on commit 7b9ccd1

Please sign in to comment.