(cd17ab725) Cleanup.

This commit is contained in:
Joonas Rikkonen
2019-05-18 17:28:18 +03:00
parent c7ceed07c7
commit d84832296c
7 changed files with 65 additions and 21 deletions
@@ -165,8 +165,8 @@ namespace Barotrauma
{
Vector2 nodePos = node.Position;
float xDiff = System.Math.Abs(start.X - nodePos.X);
float yDiff = System.Math.Abs(start.Y - nodePos.Y);
float xDiff = Math.Abs(start.X - nodePos.X);
float yDiff = Math.Abs(start.Y - nodePos.Y);
if (yDiff > 1.0f && node.Waypoint.Ladders == null && node.Waypoint.Stairs == null)
{