Fixed bug - paying attention to compiler warnings saves lives!

This commit is contained in:
sjbaker committed 2006-10-14 17:52:26 +00:00
1 parent b476223c45
commit ca4a071880
1 file changed
+1 -1
+1 -1
View File
@@ -213,7 +213,7 @@ void btRigidBody::setMassProps(btScalar mass, const btVector3& inertia)
m_inverseMass = 0.f; m_inverseMass = 0.f;
} else } else
{ {
m_collisionFlags & (~btCollisionObject::CF_STATIC_OBJECT); m_collisionFlags &= (~btCollisionObject::CF_STATIC_OBJECT);
m_inverseMass = 1.0f / mass; m_inverseMass = 1.0f / mass;
} }