X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=cl_main.c;h=fe1840aff42db97cb43db2ec931f381da739312b;hb=540acd33401d3d6dd53cd38c1f68b1a345477ed2;hp=c114156382440d2141c3ff6aaf4fa59442317802;hpb=76b14fcb9aed53d4aab47f35249eb6b2df03ebfe;p=xonotic%2Fdarkplaces.git diff --git a/cl_main.c b/cl_main.c index c1141563..fe1840af 100644 --- a/cl_main.c +++ b/cl_main.c @@ -108,6 +108,8 @@ cvar_t cl_maxfps_alwayssleep = {CF_CLIENT | CF_ARCHIVE, "cl_maxfps_alwayssleep", cvar_t cl_maxidlefps = {CF_CLIENT | CF_ARCHIVE, "cl_maxidlefps", "20", "maximum fps cap when the game is not the active window (makes cpu time available to other programs"}; cvar_t cl_areagrid_link_SOLID_NOT = {CF_CLIENT, "cl_areagrid_link_SOLID_NOT", "1", "set to 0 to prevent SOLID_NOT entities from being linked to the area grid, and unlink any that are already linked (in the code paths that would otherwise link them), for better performance"}; +cvar_t cl_gameplayfix_nudgeoutofsolid_separation = {CF_CLIENT, "cl_gameplayfix_nudgeoutofsolid_separation", "0.03125", "keep objects this distance apart to prevent collision issues on seams"}; + client_static_t cls; client_state_t cl; @@ -3137,6 +3139,7 @@ void CL_Init (void) Cvar_RegisterVariable (&cl_maxidlefps); Cvar_RegisterVariable (&cl_areagrid_link_SOLID_NOT); + Cvar_RegisterVariable (&cl_gameplayfix_nudgeoutofsolid_separation); CL_Parse_Init(); CL_Particles_Init();