1
0
Fork 0
forked from fte/fteqw

Added a cvar to disable autoid.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1386 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2005-09-28 23:31:17 +00:00
parent de790a2d35
commit 493ddb6862

View file

@ -96,6 +96,8 @@ cvar_t v_pentcshift = {"v_pentcshift", "0"};
cvar_t v_viewheight = {"v_viewheight", "0"};
cvar_t scr_autoid = {"scr_autoid", "0"};
extern cvar_t cl_chasecam;
@ -1294,6 +1296,8 @@ void R_DrawNameTags(void)
if (!cl.spectator && !cls.demoplayback)
return;
if (!scr_autoid.value)
return;
#ifdef RGLQUAKE
if (qrenderer == QR_OPENGL)
@ -1619,6 +1623,8 @@ void V_Init (void)
Cvar_Register (&v_idlescale, VIEWVARS);
Cvar_Register (&v_deathtilt, VIEWVARS);
Cvar_Register (&scr_autoid, VIEWVARS);
#ifdef SIDEVIEWS
#define SECONDARYVIEWVARS "Secondary view vars"
for (i = 0; i < SIDEVIEWS; i++)