mirror of
https://github.com/love2d/love.git
synced 2026-08-20 04:30:09 +02:00
Fixed Fixture:getType crashing
This commit is contained in:
@@ -76,7 +76,7 @@ Fixture::~Fixture()
|
|||||||
|
|
||||||
Shape::Type Fixture::getType() const
|
Shape::Type Fixture::getType() const
|
||||||
{
|
{
|
||||||
return Shape(fixture->GetShape()).getType();
|
return Shape(fixture->GetShape(), false).getType();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Fixture::setFriction(float friction)
|
void Fixture::setFriction(float friction)
|
||||||
|
|||||||
Reference in New Issue
Block a user