From a947b70575bc5535a00cbb1f10e34cf25062e9a6 Mon Sep 17 00:00:00 2001 From: morphw Date: Fri, 18 May 2007 00:43:43 +0000 Subject: add 1 to global Y posn when exceeding 255 local Y. Was adding 1 to global X. Good eyes makomk --- OpenSim.RegionServer/SimClient.Grid.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim.RegionServer/SimClient.Grid.cs') diff --git a/OpenSim.RegionServer/SimClient.Grid.cs b/OpenSim.RegionServer/SimClient.Grid.cs index 79ed5aa..755a79c 100644 --- a/OpenSim.RegionServer/SimClient.Grid.cs +++ b/OpenSim.RegionServer/SimClient.Grid.cs @@ -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 } } } - } + } } -- cgit v1.1