Fix angular velocity default value in TileSet

Value was uninitialized, which lead to undefined behavior.
This commit is contained in:
PouleyKetchoupp 2021-09-30 18:04:54 -07:00
parent 77721b35ba
commit d46ac42389

View file

@ -646,7 +646,7 @@ private:
};
Vector2 linear_velocity;
float angular_velocity;
float angular_velocity = 0.0;
Vector<PolygonShapeTileData> polygons;
};
Vector<PhysicsLayerTileData> physics;