Have spectator always be in first person
Flying around in third person with no body is weird.
This commit is contained in:
parent
c2ca5e7856
commit
7b9ccd1463
1 changed files with 2 additions and 1 deletions
|
@ -796,7 +796,8 @@ void CG_DrawActiveFrame( int serverTime, stereoFrame_t stereoView, qboolean demo
|
||||||
CG_PredictPlayerState();
|
CG_PredictPlayerState();
|
||||||
|
|
||||||
// decide on third person view
|
// 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
|
// build cg.refdef
|
||||||
inwater = CG_CalcViewValues();
|
inwater = CG_CalcViewValues();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue