Removed outdated comment.

This commit is contained in:
hiker
2014-09-26 23:48:10 +10:00
parent a593c81a64
commit 544f15d693

View File

@@ -1761,7 +1761,6 @@ void Kart::crashed(const Material *m, const Vec3 &normal)
// a fence.
btVector3 gravity = m_body->getGravity();
gravity.normalize();
// Cast necessary since otherwise to operator- (vec3/btvector) exists
Vec3 impulse = normal - gravity* btDot(normal, gravity);
if(impulse.getX() || impulse.getZ())
impulse.normalize();