1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

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;