diff options
author | Melanie Thielker | 2008-10-06 07:21:13 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-10-06 07:21:13 +0000 |
commit | c65b10caa2a877096d52d29e7b89026e9f54d622 (patch) | |
tree | 15172f710b1fbd4236ba31946d69f3574d8186b5 /OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | |
parent | Cause inventory items to also be sold when a prim is sold (diff) | |
download | opensim-SC-c65b10caa2a877096d52d29e7b89026e9f54d622.zip opensim-SC-c65b10caa2a877096d52d29e7b89026e9f54d622.tar.gz opensim-SC-c65b10caa2a877096d52d29e7b89026e9f54d622.tar.bz2 opensim-SC-c65b10caa2a877096d52d29e7b89026e9f54d622.tar.xz |
Implement ForceOwnerPermissive and God TakeCopy
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs index ecc6180..204ba39 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | |||
@@ -1516,6 +1516,12 @@ namespace OpenSim.Region.Environment.Scenes | |||
1516 | permissionToDelete = false; //Just taking copy! | 1516 | permissionToDelete = false; //Just taking copy! |
1517 | 1517 | ||
1518 | } | 1518 | } |
1519 | else if (DeRezPacket.AgentBlock.Destination == 5) //God take copy | ||
1520 | { | ||
1521 | permissionToTake = ExternalChecks.ExternalChecksCanBeGodLike(remoteClient.AgentId); | ||
1522 | permissionToDelete = false; //Just taking copy! | ||
1523 | |||
1524 | } | ||
1519 | else if (DeRezPacket.AgentBlock.Destination == 4) //Take | 1525 | else if (DeRezPacket.AgentBlock.Destination == 4) //Take |
1520 | { | 1526 | { |
1521 | // Take | 1527 | // Take |