Re-introduced a fix for (apparently) hexley, not sure if this should

be kept, but for backwards compatibility added it back with an
#ifdef.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/physics@10278 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2011-11-30 08:26:59 +00:00
parent ac90c43f72
commit d4564dd40d

View File

@ -738,7 +738,13 @@ void btKart::updateFriction(btScalar timeStep)
{
m_chassisBody->applyImpulse(
m_forwardWS[wheel]*(m_forwardImpulse[wheel]),
#define COMPATIBLE_0_7_3
#ifdef COMPATIBLE_0_7_3
// This was apparently done to help hexley
btVector3(0,0,0));
#else
rel_pos);
#endif
}
if (m_sideImpulse[wheel] != btScalar(0.))
{