Fix Fixture:getShape() causing crashes with ChainShapes (resolves issue #1392), removed dead code that's no longer valid

This commit is contained in:
Alex Szpakowski
2018-04-07 18:37:29 -03:00
parent bb228cab0c
commit b934f74795
2 changed files with 3 additions and 16 deletions
+1 -4
View File
@@ -45,7 +45,7 @@ public:
* Create a new ChainShape from a Box2D chain shape.
* @param c The chain shape.
**/
ChainShape(b2ChainShape *c, bool loop = false, bool own = true);
ChainShape(b2ChainShape *c, bool own = true);
virtual ~ChainShape();
@@ -103,9 +103,6 @@ public:
**/
const b2Vec2 *getPoints() const;
private:
// True if this ChainShape is a loop.
bool loop;
};
} // box2d