diff options
A little bit of cleaning up.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index a9f283f..99bdda9 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -634,8 +634,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
634 | taskItem.desc = item.inventoryDescription; | 634 | taskItem.desc = item.inventoryDescription; |
635 | taskItem.owner_id = item.avatarID; | 635 | taskItem.owner_id = item.avatarID; |
636 | taskItem.creator_id = item.creatorsID; | 636 | taskItem.creator_id = item.creatorsID; |
637 | taskItem.type = taskItem.AssetTypes[item.assetType]; | 637 | taskItem.type = SceneObjectPart.TaskInventoryItem.Types[item.assetType]; |
638 | taskItem.inv_type = taskItem.AssetTypes[item.invType]; | 638 | taskItem.inv_type = SceneObjectPart.TaskInventoryItem.Types[item.invType]; |
639 | part.AddInventoryItem(taskItem); | 639 | part.AddInventoryItem(taskItem); |
640 | return true; | 640 | return true; |
641 | } | 641 | } |