diff options
author | Melanie Thielker | 2008-08-24 16:41:23 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-08-24 16:41:23 +0000 |
commit | a7a385937ea0ba105b5547702639c373121e491e (patch) | |
tree | fa959998cf59984b794f25ac4329de7db012cba8 /OpenSim/Region/Environment/Scenes/Scene.cs | |
parent | Mantis#2041. Thank you kindly, HomerHorwitz for a patch that: (diff) | |
download | opensim-SC_OLD-a7a385937ea0ba105b5547702639c373121e491e.zip opensim-SC_OLD-a7a385937ea0ba105b5547702639c373121e491e.tar.gz opensim-SC_OLD-a7a385937ea0ba105b5547702639c373121e491e.tar.bz2 opensim-SC_OLD-a7a385937ea0ba105b5547702639c373121e491e.tar.xz |
Completing the item sale series, this one implements sell contents.
All item sale modes are now complete.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 0052dd3..a21f701 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -4036,6 +4036,14 @@ namespace OpenSim.Region.Environment.Scenes | |||
4036 | remoteClient.SendInventoryItemCreateUpdate(item); | 4036 | remoteClient.SendInventoryItemCreateUpdate(item); |
4037 | } | 4037 | } |
4038 | break; | 4038 | break; |
4039 | |||
4040 | case 3: // Sell contents | ||
4041 | List<LLUUID> invList = part.GetInventoryList(); | ||
4042 | |||
4043 | if (invList.Count > 0) | ||
4044 | MoveTaskInventoryItems(remoteClient.AgentId, part.Name, | ||
4045 | part, invList); | ||
4046 | break; | ||
4039 | } | 4047 | } |
4040 | } | 4048 | } |
4041 | } | 4049 | } |