We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b973bcc commit 499d3adCopy full SHA for 499d3ad
1 file changed
Intersect.Client.Core/Entities/Entity.cs
@@ -1561,8 +1561,8 @@ protected virtual void CalculateOrigin()
1561
}
1562
1563
mOrigin = new Vector2(
1564
- LatestMap.X + X * TileWidth + OffsetX + TileWidth / 2,
1565
- LatestMap.Y + Y * TileHeight + OffsetY + TileHeight
+ (float)Math.Round(LatestMap.X + X * TileWidth + OffsetX + TileWidth / 2f),
+ (float)Math.Round(LatestMap.Y + Y * TileHeight + OffsetY + TileHeight)
1566
);
1567
1568
0 commit comments