diff options
author | morphw | 2007-05-18 00:43:43 +0000 |
---|---|---|
committer | morphw | 2007-05-18 00:43:43 +0000 |
commit | a947b70575bc5535a00cbb1f10e34cf25062e9a6 (patch) | |
tree | 643a6c3277c0cee3acd5a6797fdb12c338e2ac24 /OpenSim.RegionServer/SimClient.Grid.cs | |
parent | forgot a .ToString() on AgentID (diff) | |
download | opensim-SC-a947b70575bc5535a00cbb1f10e34cf25062e9a6.zip opensim-SC-a947b70575bc5535a00cbb1f10e34cf25062e9a6.tar.gz opensim-SC-a947b70575bc5535a00cbb1f10e34cf25062e9a6.tar.bz2 opensim-SC-a947b70575bc5535a00cbb1f10e34cf25062e9a6.tar.xz |
add 1 to global Y posn when exceeding 255 local Y. Was adding 1 to global X. Good eyes makomk
Diffstat (limited to '')
-rw-r--r-- | OpenSim.RegionServer/SimClient.Grid.cs | 4 |
1 files changed, 2 insertions, 2 deletions
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 | |||
102 | } | 102 | } |
103 | if (avatarpos.Y > 255) | 103 | if (avatarpos.Y > 255) |
104 | { | 104 | { |
105 | neighbourx += 1; | 105 | neighboury += 1; |
106 | newpos.Y = 1; | 106 | newpos.Y = 1; |
107 | } | 107 | } |
108 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "SimClient.cs:CrossSimBorder() - Crossing border to neighbouring sim at [" + neighbourx.ToString() + "," + neighboury.ToString() + "]"); | 108 | 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 | |||
153 | } | 153 | } |
154 | } | 154 | } |
155 | } | 155 | } |
156 | } | 156 | } |
157 | } | 157 | } |