aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Framework/Data/UserProfileData.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Data/UserProfileData.cs b/OpenSim/Framework/Data/UserProfileData.cs
index 4e8ec80..1d0ac84 100644
--- a/OpenSim/Framework/Data/UserProfileData.cs
+++ b/OpenSim/Framework/Data/UserProfileData.cs
@@ -66,8 +66,8 @@ namespace OpenSim.Framework.Data
66 { 66 {
67 get { return Helpers.UIntsToLong((homeRegionX * 256), (homeRegionY * 256)); } 67 get { return Helpers.UIntsToLong((homeRegionX * 256), (homeRegionY * 256)); }
68 set { 68 set {
69 System.Console.WriteLine("Don't know how to set homeRegion"); 69 homeRegionX = (uint)(value >> 40);
70 Helpers.UIntsToLong((homeRegionX * 256), (homeRegionY * 256)); 70 homeRegionY = (((uint)(value)) >> 8);
71 } 71 }
72 } 72 }
73 public uint homeRegionX; 73 public uint homeRegionX;