chase_active in uquake is now cl_chasecam like in qw-client

This commit is contained in:
Joseph Carter 2000-01-02 05:46:52 +00:00
parent 4a291f544e
commit b75354555d
5 changed files with 6 additions and 6 deletions

View file

@ -702,7 +702,7 @@ void R_DrawViewModel (void)
if (!r_drawviewmodel.value) if (!r_drawviewmodel.value)
return; return;
if (chase_active.value) if (cl_chasecam.value)
return; return;
#endif #endif

View file

@ -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_back = {"chase_back", "100"};
cvar_t chase_up = {"chase_up", "16"}; cvar_t chase_up = {"chase_up", "16"};
cvar_t chase_right = {"chase_right", "0"}; 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_pos;
vec3_t chase_angles; vec3_t chase_angles;
@ -38,7 +38,7 @@ void Chase_Init (void)
Cvar_RegisterVariable (&chase_back); Cvar_RegisterVariable (&chase_back);
Cvar_RegisterVariable (&chase_up); Cvar_RegisterVariable (&chase_up);
Cvar_RegisterVariable (&chase_right); Cvar_RegisterVariable (&chase_right);
Cvar_RegisterVariable (&chase_active); Cvar_RegisterVariable (&cl_chasecam);
} }
void Chase_Reset (void) void Chase_Reset (void)

View file

@ -607,7 +607,7 @@ void CL_RelinkEntities (void)
ent->forcelink = false; ent->forcelink = false;
if (i == cl.viewentity && !chase_active.value) if (i == cl.viewentity && !cl_chasecam.value)
continue; continue;
#ifdef QUAKE2 #ifdef QUAKE2

View file

@ -206,7 +206,7 @@ extern int minimum_memory;
// //
// chase // chase
// //
extern cvar_t chase_active; extern cvar_t cl_chasecam;
void Chase_Init (void); void Chase_Init (void);
void Chase_Reset (void); void Chase_Reset (void);

View file

@ -978,7 +978,7 @@ if (cl.onground && ent->origin[2] - oldz > 0)
else else
oldz = ent->origin[2]; oldz = ent->origin[2];
if (chase_active.value) if (cl_chasecam.value)
Chase_Update (); Chase_Update ();
} }