Force-off r_dynamic on OLD model systems; force set sv_maxvelocity

This commit is contained in:
cypress 2023-07-22 12:48:45 -04:00
parent 95fccd695e
commit 3aaf8aa9dc
2 changed files with 7 additions and 1 deletions

View file

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

View file

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