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)
return;
if (chase_active.value)
if (cl_chasecam.value)
return;
#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_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)

View File

@ -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

View File

@ -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);

View File

@ -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 ();
}