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 da5481c commit 1f48c1fCopy full SHA for 1f48c1f
Intersect.Client.Core/Entities/Entity.cs
@@ -1179,7 +1179,14 @@ public virtual bool ShouldDrawName
1179
entityY = MapHeight * 3 + Y;
1180
}
1181
1182
- entityY = (int)Math.Floor(entityY + OffsetY / TileHeight);
+ if (IsMoving && DirectionMoving == Direction.Up || DirectionMoving == Direction.UpLeft || DirectionMoving == Direction.UpRight)
1183
+ {
1184
+ entityY = entityY - 1;
1185
+ }
1186
+ else if (IsMoving && DirectionMoving == Direction.Down || DirectionMoving == Direction.DownLeft || DirectionMoving == Direction.DownRight)
1187
1188
+ entityY = entityY + 1;
1189
1190
1191
if (priority >= renderingEntities.GetLength(0) || entityY >= renderingEntities.GetLength(1))
1192
{
0 commit comments