aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data/UserProfileData.cs
diff options
context:
space:
mode:
authorSean Dague2007-09-11 15:13:24 +0000
committerSean Dague2007-09-11 15:13:24 +0000
commit71f94d84211369489147307155f41a00cd2913bd (patch)
tree536fadf99859ea9abb456f6dfc308c2a95fd336f /OpenSim/Framework/Data/UserProfileData.cs
parentKill little green men on minimap if the avatar logs off. (diff)
downloadopensim-SC_OLD-71f94d84211369489147307155f41a00cd2913bd.zip
opensim-SC_OLD-71f94d84211369489147307155f41a00cd2913bd.tar.gz
opensim-SC_OLD-71f94d84211369489147307155f41a00cd2913bd.tar.bz2
opensim-SC_OLD-71f94d84211369489147307155f41a00cd2913bd.tar.xz
Fix for setting region through property. This should allow
mysql to work again in grid mode for user storage.
Diffstat (limited to 'OpenSim/Framework/Data/UserProfileData.cs')
-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;