2
0
mirror of https://github.com/rehlds/rehlds.git synced 2024-12-27 23:25:45 +03:00

Set default values sv_rollspeed, sv_rollangle for the default behavior

This commit is contained in:
s1lent 2018-02-21 15:57:53 +07:00
parent acf44cf949
commit 0d5a8ee2bf
No known key found for this signature in database
GPG Key ID: 0FE401DC73916B5C

View File

@ -56,8 +56,15 @@ cvar_t sv_edgefriction = { "edgefriction", "2", FCVAR_SERVER, 0.0f, NULL };
cvar_t sv_maxspeed = { "sv_maxspeed", "320", FCVAR_SERVER, 0.0f, NULL };
cvar_t sv_accelerate = { "sv_accelerate", "10", FCVAR_SERVER, 0.0f, NULL };
cvar_t sv_footsteps = { "mp_footsteps", "1", FCVAR_SERVER, 0.0f, NULL };
#ifdef REHLDS_FIXES
cvar_t sv_rollspeed = { "sv_rollspeed", "0", 0, 0.0f, NULL };
cvar_t sv_rollangle = { "sv_rollangle", "0", 0, 0.0f, NULL };
#else
cvar_t sv_rollspeed = { "sv_rollspeed", "200", 0, 0.0f, NULL };
cvar_t sv_rollangle = { "sv_rollangle", "2.0", 0, 0.0f, NULL };
#endif
cvar_t sv_unlag = { "sv_unlag", "1", 0, 0.0f, NULL };
cvar_t sv_maxunlag = { "sv_maxunlag", "0.5", 0, 0.0f, NULL };
cvar_t sv_unlagpush = { "sv_unlagpush", "0.0", 0, 0.0f, NULL };