Browse Source

Fixed Fixture:getType crashing

Alex Szpakowski 12 years ago
parent
commit
2561ace2d6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/physics/box2d/Fixture.cpp

+ 1 - 1
src/modules/physics/box2d/Fixture.cpp

@@ -76,7 +76,7 @@ Fixture::~Fixture()
 
 Shape::Type Fixture::getType() const
 {
-	return Shape(fixture->GetShape()).getType();
+	return Shape(fixture->GetShape(), false).getType();
 }
 
 void Fixture::setFriction(float friction)