Fixed bug - paying attention to compiler warnings saves lives!
This commit is contained in:
@@ -213,7 +213,7 @@ void btRigidBody::setMassProps(btScalar mass, const btVector3& inertia)
|
||||
m_inverseMass = 0.f;
|
||||
} else
|
||||
{
|
||||
m_collisionFlags & (~btCollisionObject::CF_STATIC_OBJECT);
|
||||
m_collisionFlags &= (~btCollisionObject::CF_STATIC_OBJECT);
|
||||
m_inverseMass = 1.0f / mass;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user