mirror of
https://github.com/love2d/love.git
synced 2026-08-15 07:41:11 +02:00
Fixed setFixedRotation enabling other flags (bug #190)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user