diff options
author | Oren Hurvitz | 2014-04-06 15:51:21 +0300 |
---|---|---|
committer | Oren Hurvitz | 2014-04-06 15:40:45 +0100 |
commit | d4acaf25afd9b9797932af0f0fb5e5e08052c1fd (patch) | |
tree | 9e873b528456ecb1a1ec4eb1f2cf954e6dc2120a | |
parent | Don't re-retrieve sit part in SP.HandleAgentSit() when we already have it (th... (diff) | |
download | opensim-SC_OLD-d4acaf25afd9b9797932af0f0fb5e5e08052c1fd.zip opensim-SC_OLD-d4acaf25afd9b9797932af0f0fb5e5e08052c1fd.tar.gz opensim-SC_OLD-d4acaf25afd9b9797932af0f0fb5e5e08052c1fd.tar.bz2 opensim-SC_OLD-d4acaf25afd9b9797932af0f0fb5e5e08052c1fd.tar.xz |
Pass the correct position to QueryAccess() instead of UUID.Zero (it was wrong in one place)
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs index 92ea62c..7b4fbf9 100644 --- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs +++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | |||
@@ -742,7 +742,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
742 | string reason; | 742 | string reason; |
743 | string version; | 743 | string version; |
744 | if (!Scene.SimulationService.QueryAccess( | 744 | if (!Scene.SimulationService.QueryAccess( |
745 | finalDestination, sp.ControllingClient.AgentId, Vector3.Zero, out version, out reason)) | 745 | finalDestination, sp.ControllingClient.AgentId, position, out version, out reason)) |
746 | { | 746 | { |
747 | sp.ControllingClient.SendTeleportFailed(reason); | 747 | sp.ControllingClient.SendTeleportFailed(reason); |
748 | 748 | ||