From: divverent Date: Thu, 22 Oct 2009 08:58:55 +0000 (+0000) Subject: due to huge slowdowns even in non-ODE using games (probably from body syncing), turn... X-Git-Tag: xonotic-v0.1.0preview~1257 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=40ede0998143855ae68b3399d8c5ed4313f79f47;p=xonotic%2Fdarkplaces.git due to huge slowdowns even in non-ODE using games (probably from body syncing), turn off ODE_DYNAMIC by default again until this is solved (e.g. by performing no ODE stuff if there is no single MOVETYPE_PHYSICS ent) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9381 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/world.c b/world.c index 42d7d791..7d03bb2c 100644 --- a/world.c +++ b/world.c @@ -314,9 +314,9 @@ void World_LinkEdict(world_t *world, prvm_edict_t *ent, const vec3_t mins, const // physics engine support //============================================================================ -#ifndef ODE_STATIC -#define ODE_DYNAMIC 1 -#endif +//#ifndef ODE_STATIC +//#define ODE_DYNAMIC 1 +//#endif #if defined(ODE_STATIC) || defined(ODE_DYNAMIC) #define USEODE 1