mirror of
https://github.com/godotengine/godot
synced 2024-09-05 07:18:49 +00:00
Fix angular velocity default value in TileSet
Value was uninitialized, which lead to undefined behavior.
This commit is contained in:
parent
77721b35ba
commit
d46ac42389
|
@ -646,7 +646,7 @@ private:
|
|||
};
|
||||
|
||||
Vector2 linear_velocity;
|
||||
float angular_velocity;
|
||||
float angular_velocity = 0.0;
|
||||
Vector<PolygonShapeTileData> polygons;
|
||||
};
|
||||
Vector<PhysicsLayerTileData> physics;
|
||||
|
|
Loading…
Reference in a new issue