Setting changeY in border crossing.
parent
3795cface2
commit
bea13e3709
|
@ -1804,6 +1804,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
if (crossedBordery.BorderLine.Z > 0)
|
if (crossedBordery.BorderLine.Z > 0)
|
||||||
{
|
{
|
||||||
pos.Y = ((pos.Y + crossedBordery.BorderLine.Z));
|
pos.Y = ((pos.Y + crossedBordery.BorderLine.Z));
|
||||||
|
changeY = (int)(crossedBordery.BorderLine.Z / (int)Constants.RegionSize);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
pos.Y = ((pos.Y + Constants.RegionSize));
|
pos.Y = ((pos.Y + Constants.RegionSize));
|
||||||
|
|
Loading…
Reference in New Issue