fix (int)
parent
767e7c48b1
commit
7d2f9289f8
|
@ -292,7 +292,7 @@ namespace OpenSim.Modules.PathFinding
|
||||||
_PointB = start;
|
_PointB = start;
|
||||||
}
|
}
|
||||||
|
|
||||||
while ((int)_PointA.X != _PointB.X)
|
while ((int)_PointA.X != (int)_PointB.X)
|
||||||
{
|
{
|
||||||
setPositionData(requestData, _PointA, walkable, 0);
|
setPositionData(requestData, _PointA, walkable, 0);
|
||||||
_PointA.X = (int)_PointA.X + 1;
|
_PointA.X = (int)_PointA.X + 1;
|
||||||
|
@ -313,7 +313,7 @@ namespace OpenSim.Modules.PathFinding
|
||||||
_PointB = start;
|
_PointB = start;
|
||||||
}
|
}
|
||||||
|
|
||||||
while ((int)_PointA.Y != _PointB.Y)
|
while ((int)_PointA.Y != (int)_PointB.Y)
|
||||||
{
|
{
|
||||||
setPositionData(requestData, _PointA, walkable, 0);
|
setPositionData(requestData, _PointA, walkable, 0);
|
||||||
_PointA.Y = (int)_PointA.Y + 1;
|
_PointA.Y = (int)_PointA.Y + 1;
|
||||||
|
|
Loading…
Reference in New Issue