Fixed bug - paying attention to compiler warnings saves lives!

This commit is contained in:
sjbaker
2006-10-14 17:52:26 +00:00
parent b476223c45
commit ca4a071880

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;
} }