master
Christopher Latza 2020-06-19 21:27:29 +02:00
parent 7d2f9289f8
commit 73ef87366a
1 changed files with 2 additions and 2 deletions

View File

@ -292,7 +292,7 @@ namespace OpenSim.Modules.PathFinding
_PointB = start;
}
while ((int)_PointA.X != (int)_PointB.X)
while ((int)_PointA.X <= (int)_PointB.X)
{
setPositionData(requestData, _PointA, walkable, 0);
_PointA.X = (int)_PointA.X + 1;
@ -313,7 +313,7 @@ namespace OpenSim.Modules.PathFinding
_PointB = start;
}
while ((int)_PointA.Y != (int)_PointB.Y)
while ((int)_PointA.Y <= (int)_PointB.Y)
{
setPositionData(requestData, _PointA, walkable, 0);
_PointA.Y = (int)_PointA.Y + 1;