mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Fix Fixture:getShape() causing crashes with ChainShapes (resolves issue #1392), removed dead code that's no longer valid
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user