fix occasional crash with code compiled with gcc

This commit is contained in:
David Rose 2005-02-01 04:47:39 +00:00
parent c82df3d2ff
commit b9009141e1

View File

@ -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) {
}
////////////////////////////////////////////////////////////////////