aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Land
diff options
context:
space:
mode:
authorUbitUmarov2016-07-24 19:31:28 +0100
committerUbitUmarov2016-07-24 19:31:28 +0100
commitd6d3e14f291d3217d1727dfb9ddfe2420c9a0a42 (patch)
tree9526aed75464bb975fe6bf84015cea2dec6bae12 /OpenSim/Region/CoreModules/World/Land
parent add osSetHealth() value from 1 to 100; (mantis 7973) (diff)
downloadopensim-SC_OLD-d6d3e14f291d3217d1727dfb9ddfe2420c9a0a42.zip
opensim-SC_OLD-d6d3e14f291d3217d1727dfb9ddfe2420c9a0a42.tar.gz
opensim-SC_OLD-d6d3e14f291d3217d1727dfb9ddfe2420c9a0a42.tar.bz2
opensim-SC_OLD-d6d3e14f291d3217d1727dfb9ddfe2420c9a0a42.tar.xz
add a missing update to avatar damage Invulnerable
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Land')
-rw-r--r--OpenSim/Region/CoreModules/World/Land/LandObject.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandObject.cs b/OpenSim/Region/CoreModules/World/Land/LandObject.cs
index 4cea7bb..b00f2b0 100644
--- a/OpenSim/Region/CoreModules/World/Land/LandObject.cs
+++ b/OpenSim/Region/CoreModules/World/Land/LandObject.cs
@@ -374,6 +374,10 @@ namespace OpenSim.Region.CoreModules.World.Land
374 374
375 public void SendLandProperties(int sequence_id, bool snap_selection, int request_result, IClientAPI remote_client) 375 public void SendLandProperties(int sequence_id, bool snap_selection, int request_result, IClientAPI remote_client)
376 { 376 {
377 remote_client.SceneAgent.Invulnerable =
378 !m_scene.RegionInfo.RegionSettings.AllowDamage ||
379 (m_landData.Flags & (uint)ParcelFlags.AllowDamage) == 0;
380
377 if (remote_client.SceneAgent.PresenceType == PresenceType.Npc) 381 if (remote_client.SceneAgent.PresenceType == PresenceType.Npc)
378 return; 382 return;
379 383