mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-30 00:10:40 +00:00
Apply Seth Galbraith's <sgalbrai@linknet.kitsap.lib.wa.us> chasecam patch
This commit is contained in:
parent
e892131af5
commit
c78edb3a36
7 changed files with 567 additions and 27 deletions
|
@ -619,6 +619,10 @@ V_CalcIntermissionRefdef (void)
|
|||
Cvar_SetValue (v_idlescale, old);
|
||||
}
|
||||
|
||||
#include "cl_cam.h"
|
||||
|
||||
extern cvar_t *chase_active;
|
||||
|
||||
void
|
||||
V_CalcRefdef (void)
|
||||
{
|
||||
|
@ -724,6 +728,10 @@ V_CalcRefdef (void)
|
|||
view->origin[2] += oldz - cl.simorg[2];
|
||||
} else
|
||||
oldz = cl.simorg[2];
|
||||
|
||||
if (atoi (Info_ValueForKey (cl.serverinfo, "chase"))
|
||||
&& chase_active->int_val)
|
||||
Chase_Update ();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue