mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
add 1 to global Y posn when exceeding 255 local Y. Was adding 1 to global X. Good eyes makomk
This commit is contained in:
@@ -102,7 +102,7 @@ namespace OpenSim
|
||||
}
|
||||
if (avatarpos.Y > 255)
|
||||
{
|
||||
neighbourx += 1;
|
||||
neighboury += 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() + "]");
|
||||
@@ -153,5 +153,5 @@ namespace OpenSim
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user