Removed compiler warning.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7097 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2010-12-20 01:01:53 +00:00
parent 7e1c8a4c50
commit 4d2a1d9faf

View File

@ -353,12 +353,6 @@ void World::resetAllKarts()
m_track->getAngle(quad) );
kart->setRotation(heading);
// A certain epsilon is added here to the Z coordinate, in case
// that the drivelines are somewhat under the track. Otherwise,
// the kart might be placed a little bit under the track,
// triggering a rescue, ... (experimentally found value)
float epsilon = 0.5f * kart->getKartHeight();
btTransform pos;
pos.setOrigin(center+eps);
pos.setRotation(btQuaternion(btVector3(0.0f, 1.0f, 0.0f),