mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 11:57:03 +08:00
* For your fragging desire, damage enabled land works, but watch out!, life does not regenerate until you're dead!
This commit is contained in:
@@ -336,6 +336,11 @@ namespace OpenSim.Region.Environment.Modules.World.Land
|
||||
{
|
||||
if (over.landData.localID == landData.localID)
|
||||
{
|
||||
if ((over.landData.landFlags & (uint)Parcel.ParcelFlags.AllowDamage) != 0)
|
||||
avatars[i].Invulnerable = false;
|
||||
else
|
||||
avatars[i].Invulnerable = true;
|
||||
|
||||
sendLandUpdateToClient(avatars[i].ControllingClient);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user