* Put Borders back the way they were to resolve the endless ----> crossing into region X,Y
parent
0ede6340ef
commit
de1c2a51e2
|
@ -103,7 +103,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
case Cardinals.SE: // x+1, y-1
|
case Cardinals.SE: // x+1, y-1
|
||||||
break;
|
break;
|
||||||
case Cardinals.S: // x+0, y-1
|
case Cardinals.S: // x+0, y-1
|
||||||
if (position.X >= BorderLine.X && position.X <= BorderLine.Y && position.Y < BorderLine.Z)
|
if (position.X >= BorderLine.X && position.X <= BorderLine.Y && position.Y-1 < BorderLine.Z)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -111,7 +111,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
case Cardinals.SW: // x-1, y-1
|
case Cardinals.SW: // x-1, y-1
|
||||||
break;
|
break;
|
||||||
case Cardinals.W: // x-1, y+0
|
case Cardinals.W: // x-1, y+0
|
||||||
if (position.Y >= BorderLine.X && position.Y <= BorderLine.Y && position.X < BorderLine.Z)
|
if (position.Y >= BorderLine.X && position.Y <= BorderLine.Y && position.X-1 < BorderLine.Z)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue