From b9009141e1eba55e03c41784dbf9f68b54e647fa Mon Sep 17 00:00:00 2001 From: David Rose Date: Tue, 1 Feb 2005 04:47:39 +0000 Subject: [PATCH] fix occasional crash with code compiled with gcc --- panda/src/collide/collisionPolygon.I | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/collide/collisionPolygon.I b/panda/src/collide/collisionPolygon.I index 58aad62c8d..233d4c8171 100644 --- a/panda/src/collide/collisionPolygon.I +++ b/panda/src/collide/collisionPolygon.I @@ -183,7 +183,7 @@ PointDef(const LPoint2f &p, const LVector2f &v) : _p(p), _v(v) { // Description: //////////////////////////////////////////////////////////////////// INLINE CollisionPolygon::PointDef:: -PointDef(float x, float y) : _p(x, y) { +PointDef(float x, float y) : _p(x, y), _v(0.0f, 0.0f) { } ////////////////////////////////////////////////////////////////////