1
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

View File

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