Rename gl_lerpmodels to r_lerpmodels.

This commit is contained in:
Yamagi Burmeister 2018-01-06 18:25:53 +01:00
parent 55889e4abb
commit 8a83c92044
4 changed files with 5 additions and 5 deletions

View file

@ -172,7 +172,7 @@ extern cvar_t *r_drawworld;
extern cvar_t *gl_speeds;
extern cvar_t *r_fullbright;
extern cvar_t *gl_novis;
extern cvar_t *gl_lerpmodels;
extern cvar_t *r_lerpmodels;
extern cvar_t *gl_lightlevel;
extern cvar_t *gl_overbrightbits;

View file

@ -75,7 +75,7 @@ cvar_t *r_drawworld;
cvar_t *gl_speeds;
cvar_t *r_fullbright;
cvar_t *gl_novis;
cvar_t *gl_lerpmodels;
cvar_t *r_lerpmodels;
cvar_t *gl_lefthand;
cvar_t *gl_farsee;
@ -1205,7 +1205,7 @@ R_Register(void)
r_drawentities = ri.Cvar_Get("r_drawentities", "1", 0);
r_drawworld = ri.Cvar_Get("r_drawworld", "1", 0);
gl_novis = ri.Cvar_Get("gl_novis", "0", 0);
gl_lerpmodels = ri.Cvar_Get("gl_lerpmodels", "1", 0);
r_lerpmodels = ri.Cvar_Get("r_lerpmodels", "1", 0);
gl_speeds = ri.Cvar_Get("gl_speeds", "0", 0);
gl_lightlevel = ri.Cvar_Get("gl_lightlevel", "0", 0);

View file

@ -742,7 +742,7 @@ R_DrawAliasModel(entity_t *e)
currententity->oldframe = 0;
}
if (!gl_lerpmodels->value)
if (!r_lerpmodels->value)
{
currententity->backlerp = 0;
}

View file

@ -254,7 +254,7 @@ GL3_Register(void)
//r_drawentities = ri.Cvar_Get("r_drawentities", "1", 0);
//r_drawworld = ri.Cvar_Get("r_drawworld", "1", 0);
//gl_novis = ri.Cvar_Get("gl_novis", "0", 0);
//gl_lerpmodels = ri.Cvar_Get("gl_lerpmodels", "1", 0); NOTE: screw this, it looks horrible without
//r_lerpmodels = ri.Cvar_Get("r_lerpmodels", "1", 0); NOTE: screw this, it looks horrible without
//gl_speeds = ri.Cvar_Get("gl_speeds", "0", 0);
//gl_lightlevel = ri.Cvar_Get("gl_lightlevel", "0", 0);