diff options
author | meta7 | 2010-08-07 06:33:51 -0700 |
---|---|---|
committer | meta7 | 2010-08-07 06:33:51 -0700 |
commit | bcb3b57f8dad06b2df1e84900da9a63253fa5a8e (patch) | |
tree | c081310d6b2c6ebf1636c52a91c6b02dd4b37acf /OpenSim/Server/Handlers/Land | |
parent | Add a CHANGED_POSITION event so scripts don't have to run expensive loops to ... (diff) | |
parent | and another one... (diff) | |
download | opensim-SC-bcb3b57f8dad06b2df1e84900da9a63253fa5a8e.zip opensim-SC-bcb3b57f8dad06b2df1e84900da9a63253fa5a8e.tar.gz opensim-SC-bcb3b57f8dad06b2df1e84900da9a63253fa5a8e.tar.bz2 opensim-SC-bcb3b57f8dad06b2df1e84900da9a63253fa5a8e.tar.xz |
Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/careminster into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Server/Handlers/Land')
-rw-r--r-- | OpenSim/Server/Handlers/Land/LandHandlers.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Server/Handlers/Land/LandHandlers.cs b/OpenSim/Server/Handlers/Land/LandHandlers.cs index a21f9de..561f285 100644 --- a/OpenSim/Server/Handlers/Land/LandHandlers.cs +++ b/OpenSim/Server/Handlers/Land/LandHandlers.cs | |||
@@ -66,7 +66,8 @@ namespace OpenSim.Server.Handlers.Land | |||
66 | uint y = Convert.ToUInt32(requestData["y"]); | 66 | uint y = Convert.ToUInt32(requestData["y"]); |
67 | m_log.DebugFormat("[LAND HANDLER]: Got request for land data at {0}, {1} for region {2}", x, y, regionHandle); | 67 | m_log.DebugFormat("[LAND HANDLER]: Got request for land data at {0}, {1} for region {2}", x, y, regionHandle); |
68 | 68 | ||
69 | LandData landData = m_LocalService.GetLandData(regionHandle, x, y); | 69 | byte regionAccess; |
70 | LandData landData = m_LocalService.GetLandData(regionHandle, x, y, out regionAccess); | ||
70 | Hashtable hash = new Hashtable(); | 71 | Hashtable hash = new Hashtable(); |
71 | if (landData != null) | 72 | if (landData != null) |
72 | { | 73 | { |
@@ -83,6 +84,7 @@ namespace OpenSim.Server.Handlers.Land | |||
83 | hash["SalePrice"] = landData.SalePrice.ToString(); | 84 | hash["SalePrice"] = landData.SalePrice.ToString(); |
84 | hash["SnapshotID"] = landData.SnapshotID.ToString(); | 85 | hash["SnapshotID"] = landData.SnapshotID.ToString(); |
85 | hash["UserLocation"] = landData.UserLocation.ToString(); | 86 | hash["UserLocation"] = landData.UserLocation.ToString(); |
87 | hash["RegionAccess"] = regionAccess.ToString(); | ||
86 | } | 88 | } |
87 | 89 | ||
88 | XmlRpcResponse response = new XmlRpcResponse(); | 90 | XmlRpcResponse response = new XmlRpcResponse(); |