mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-10 14:42:06 +00:00
chase_active in uquake is now cl_chasecam like in qw-client
This commit is contained in:
parent
4a291f544e
commit
b75354555d
5 changed files with 6 additions and 6 deletions
|
@ -702,7 +702,7 @@ void R_DrawViewModel (void)
|
|||
if (!r_drawviewmodel.value)
|
||||
return;
|
||||
|
||||
if (chase_active.value)
|
||||
if (cl_chasecam.value)
|
||||
return;
|
||||
#endif
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
cvar_t chase_back = {"chase_back", "100"};
|
||||
cvar_t chase_up = {"chase_up", "16"};
|
||||
cvar_t chase_right = {"chase_right", "0"};
|
||||
cvar_t chase_active = {"chase_active", "0"};
|
||||
cvar_t cl_chasecam = {"cl_chasecam", "0"};
|
||||
|
||||
vec3_t chase_pos;
|
||||
vec3_t chase_angles;
|
||||
|
@ -38,7 +38,7 @@ void Chase_Init (void)
|
|||
Cvar_RegisterVariable (&chase_back);
|
||||
Cvar_RegisterVariable (&chase_up);
|
||||
Cvar_RegisterVariable (&chase_right);
|
||||
Cvar_RegisterVariable (&chase_active);
|
||||
Cvar_RegisterVariable (&cl_chasecam);
|
||||
}
|
||||
|
||||
void Chase_Reset (void)
|
||||
|
|
|
@ -607,7 +607,7 @@ void CL_RelinkEntities (void)
|
|||
|
||||
ent->forcelink = false;
|
||||
|
||||
if (i == cl.viewentity && !chase_active.value)
|
||||
if (i == cl.viewentity && !cl_chasecam.value)
|
||||
continue;
|
||||
|
||||
#ifdef QUAKE2
|
||||
|
|
|
@ -206,7 +206,7 @@ extern int minimum_memory;
|
|||
//
|
||||
// chase
|
||||
//
|
||||
extern cvar_t chase_active;
|
||||
extern cvar_t cl_chasecam;
|
||||
|
||||
void Chase_Init (void);
|
||||
void Chase_Reset (void);
|
||||
|
|
|
@ -978,7 +978,7 @@ if (cl.onground && ent->origin[2] - oldz > 0)
|
|||
else
|
||||
oldz = ent->origin[2];
|
||||
|
||||
if (chase_active.value)
|
||||
if (cl_chasecam.value)
|
||||
Chase_Update ();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue