mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
bodies can now be forbidden from sleeping
This commit is contained in:
@@ -269,7 +269,7 @@ namespace box2d
|
||||
|
||||
void Body::setAllowSleeping(bool allow)
|
||||
{
|
||||
body->AllowSleeping(true);
|
||||
body->AllowSleeping(allow);
|
||||
}
|
||||
|
||||
void Body::putToSleep()
|
||||
|
||||
Reference in New Issue
Block a user