Fixed setFixedRotation enabling other flags (bug #190)

This commit is contained in:
Bill Meltsner
2010-04-03 07:12:52 -04:00
parent f74b79e39a
commit c64e034320
+1 -1
View File
@@ -296,7 +296,7 @@ namespace box2d
if(fixed)
body->m_flags |= b2Body::e_fixedRotationFlag;
else
body->m_flags |= ~(b2Body::e_fixedRotationFlag);
body->m_flags &= ~(b2Body::e_fixedRotationFlag);
}
bool Body::getFixedRotation() const