add 1 to global Y posn when exceeding 255 local Y. Was adding 1 to global X. Good eyes makomk
parent
8378e72a9f
commit
a947b70575
|
@ -102,7 +102,7 @@ namespace OpenSim
|
||||||
}
|
}
|
||||||
if (avatarpos.Y > 255)
|
if (avatarpos.Y > 255)
|
||||||
{
|
{
|
||||||
neighbourx += 1;
|
neighboury += 1;
|
||||||
newpos.Y = 1;
|
newpos.Y = 1;
|
||||||
}
|
}
|
||||||
OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "SimClient.cs:CrossSimBorder() - Crossing border to neighbouring sim at [" + neighbourx.ToString() + "," + neighboury.ToString() + "]");
|
OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "SimClient.cs:CrossSimBorder() - Crossing border to neighbouring sim at [" + neighbourx.ToString() + "," + neighboury.ToString() + "]");
|
||||||
|
@ -153,5 +153,5 @@ namespace OpenSim
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue