mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
alternative way to detect when death tilt is needed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4288 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
586eee6a60
commit
90b07d7bb6
1 changed files with 1 additions and 1 deletions
|
@ -1102,7 +1102,7 @@ void V_CalcRefdef (int pnum)
|
|||
|
||||
viewheight += cl.crouch[pnum];
|
||||
|
||||
if (view_message && view_message->flags & PF_DEAD && v_deathtilt.value) // PF_GIB will also set PF_DEAD
|
||||
if (cl.playerview[pnum].stats[STAT_HEALTH] < 0 && spec_track[pnum] >= 0 && v_deathtilt.value) // PF_GIB will also set PF_DEAD
|
||||
{
|
||||
if (!cl.spectator || !cl_chasecam.ival)
|
||||
r_refdef.viewangles[ROLL] = 80*v_deathtilt.value; // dead view angle
|
||||
|
|
Loading…
Reference in a new issue