From b44acbd0cb0df4d8f86219c11fbb446c2df4dd59 Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 8 Dec 2011 04:51:02 +0000 Subject: [PATCH] disable VorteX's broken physics_ode_constantstep code by setting the cvar to 0 by default git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11601 d7cf8633-e32d-0410-b094-e92efae38249 --- world.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/world.c b/world.c index 1225090c..5e145119 100644 --- a/world.c +++ b/world.c @@ -351,7 +351,7 @@ cvar_t physics_ode_world_damping_angular = {0, "physics_ode_world_damping_angula cvar_t physics_ode_world_damping_angular_threshold = {0, "physics_ode_world_damping_angular_threshold", "0.01", "world angular damping threshold (see ODE User Guide); use defaults when set to -1"}; cvar_t physics_ode_world_gravitymod = {0, "physics_ode_world_gravitymod", "1", "multiplies gravity got from sv_gravity, this may be needed to tweak if strong damping is used"}; cvar_t physics_ode_iterationsperframe = {0, "physics_ode_iterationsperframe", "1", "divisor for time step, runs multiple physics steps per frame"}; -cvar_t physics_ode_constantstep = {0, "physics_ode_constantstep", "1", "use constant step instead of variable step which tends to increase stability, if set to 1 uses sys_ticrate, instead uses it's own value"}; +cvar_t physics_ode_constantstep = {0, "physics_ode_constantstep", "0", "use constant step instead of variable step which tends to increase stability, if set to 1 uses sys_ticrate, instead uses it's own value"}; cvar_t physics_ode_autodisable = {0, "physics_ode_autodisable", "1", "automatic disabling of objects which dont move for long period of time, makes object stacking a lot faster"}; cvar_t physics_ode_autodisable_steps = {0, "physics_ode_autodisable_steps", "10", "how many steps object should be dormant to be autodisabled"}; cvar_t physics_ode_autodisable_time = {0, "physics_ode_autodisable_time", "0", "how many seconds object should be dormant to be autodisabled"}; -- 2.39.2