From 2561ace2d651adafb7d187f261703b87b912ad22 Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Sun, 11 Aug 2013 17:32:12 -0300 Subject: [PATCH] Fixed Fixture:getType crashing --- src/modules/physics/box2d/Fixture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/physics/box2d/Fixture.cpp b/src/modules/physics/box2d/Fixture.cpp index 68cbd9592..21688726b 100644 --- a/src/modules/physics/box2d/Fixture.cpp +++ b/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)