fix (int)

master
Christopher Latza 2020-06-19 21:17:16 +02:00
parent 767e7c48b1
commit 7d2f9289f8
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 != _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 != _PointB.Y)
while ((int)_PointA.Y != (int)_PointB.Y)
{
setPositionData(requestData, _PointA, walkable, 0);
_PointA.Y = (int)_PointA.Y + 1;