diff options
author | UbitUmarov | 2014-08-02 18:32:28 +0100 |
---|---|---|
committer | UbitUmarov | 2014-08-02 18:32:28 +0100 |
commit | 74447d14cda441408419bc90828975cf4b751692 (patch) | |
tree | 5951b8f168cfbd3ff8591dfd909178ba3b98511c /OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | |
parent | crossing into a hide parcel may work now. Not nice fix.. need get back to (diff) | |
download | opensim-SC_OLD-74447d14cda441408419bc90828975cf4b751692.zip opensim-SC_OLD-74447d14cda441408419bc90828975cf4b751692.tar.gz opensim-SC_OLD-74447d14cda441408419bc90828975cf4b751692.tar.bz2 opensim-SC_OLD-74447d14cda441408419bc90828975cf4b751692.tar.xz |
add some filters for NPCs
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs index 3016bbe..d8e3082 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | |||
@@ -1047,6 +1047,10 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
1047 | /// <param name="remote_client">The object representing the client</param> | 1047 | /// <param name="remote_client">The object representing the client</param> |
1048 | public void SendParcelOverlay(IClientAPI remote_client) | 1048 | public void SendParcelOverlay(IClientAPI remote_client) |
1049 | { | 1049 | { |
1050 | |||
1051 | if (remote_client.SceneAgent.PresenceType == PresenceType.Npc) | ||
1052 | return; | ||
1053 | |||
1050 | const int LAND_BLOCKS_PER_PACKET = 1024; | 1054 | const int LAND_BLOCKS_PER_PACKET = 1024; |
1051 | 1055 | ||
1052 | byte[] byteArray = new byte[LAND_BLOCKS_PER_PACKET]; | 1056 | byte[] byteArray = new byte[LAND_BLOCKS_PER_PACKET]; |