Skip to content

Commit

Permalink
Use i instead of j
Browse files Browse the repository at this point in the history
  • Loading branch information
kamronbatman committed Jan 27, 2025
1 parent 5dd4666 commit 1986f6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Projects/Server/Maps/Map.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1139,9 +1139,9 @@ public bool LineOfSight(Point3D origin, Point3D destination)
continue;
}

for (var j = 0; j < path.Count; ++j)
for (var i = 0; i < path.Count; ++i)
{
var pathPoint = path[j];
var pathPoint = path[i];
var pointTop = pathPoint.Z + 1;
var itemLocation = item.Location;

Expand Down

0 comments on commit 1986f6a

Please sign in to comment.