diff options
author | Sean Dague | 2007-09-11 15:13:24 +0000 |
---|---|---|
committer | Sean Dague | 2007-09-11 15:13:24 +0000 |
commit | 71f94d84211369489147307155f41a00cd2913bd (patch) | |
tree | 536fadf99859ea9abb456f6dfc308c2a95fd336f /OpenSim/Framework/Data/UserProfileData.cs | |
parent | Kill little green men on minimap if the avatar logs off. (diff) | |
download | opensim-SC-71f94d84211369489147307155f41a00cd2913bd.zip opensim-SC-71f94d84211369489147307155f41a00cd2913bd.tar.gz opensim-SC-71f94d84211369489147307155f41a00cd2913bd.tar.bz2 opensim-SC-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.cs | 4 |
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; |