mirror of
https://github.com/nzp-team/glquake.git
synced 2024-11-23 12:32:11 +00:00
Force-off r_dynamic on OLD model systems; force set sv_maxvelocity
This commit is contained in:
parent
95fccd695e
commit
3aaf8aa9dc
2 changed files with 7 additions and 1 deletions
|
@ -194,6 +194,7 @@ void R_Envmap_f (void)
|
|||
R_Init
|
||||
===============
|
||||
*/
|
||||
extern bool new3ds_flag;
|
||||
void R_Init (void)
|
||||
{
|
||||
extern byte *hunk_base;
|
||||
|
@ -269,6 +270,11 @@ void R_Init (void)
|
|||
|
||||
playertextures = texture_extension_number;
|
||||
texture_extension_number += 16;
|
||||
|
||||
if (new3ds_flag == true)
|
||||
Cvar_SetValue("r_dynamic", 1);
|
||||
else
|
||||
Cvar_SetValue("r_dynamic", 0);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -42,7 +42,7 @@ solid_edge items only clip against bsp models.
|
|||
cvar_t sv_friction = {"sv_friction","4",false,true};
|
||||
cvar_t sv_stopspeed = {"sv_stopspeed","100"};
|
||||
cvar_t sv_gravity = {"sv_gravity","800",false,true};
|
||||
cvar_t sv_maxvelocity = {"sv_maxvelocity","2000"};
|
||||
cvar_t sv_maxvelocity = {"sv_maxvelocity","100000"};
|
||||
cvar_t sv_nostep = {"sv_nostep","0"};
|
||||
|
||||
#ifdef QUAKE2
|
||||
|
|
Loading…
Reference in a new issue