Setting changeY in border crossing.

prioritization
Diva Canto 2009-10-14 11:01:46 -07:00
parent 3795cface2
commit bea13e3709
1 changed files with 1 additions and 0 deletions

View File

@ -1804,6 +1804,7 @@ namespace OpenSim.Region.Framework.Scenes
if (crossedBordery.BorderLine.Z > 0)
{
pos.Y = ((pos.Y + crossedBordery.BorderLine.Z));
changeY = (int)(crossedBordery.BorderLine.Z / (int)Constants.RegionSize);
}
else
pos.Y = ((pos.Y + Constants.RegionSize));