diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs index 66d2138..a4fe81c 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs | |||
@@ -498,8 +498,8 @@ namespace OpenSim.Region.ClientStack.Linden | |||
498 | 498 | ||
499 | if (inventoryType == "sound") | 499 | if (inventoryType == "sound") |
500 | { | 500 | { |
501 | inType = 1; | 501 | inType = (sbyte)InventoryType.Sound; |
502 | assType = 1; | 502 | assType = (sbyte)AssetType.Sound; |
503 | } | 503 | } |
504 | else if (inventoryType == "snapshot") | 504 | else if (inventoryType == "snapshot") |
505 | { | 505 | { |
@@ -507,19 +507,19 @@ namespace OpenSim.Region.ClientStack.Linden | |||
507 | } | 507 | } |
508 | else if (inventoryType == "animation") | 508 | else if (inventoryType == "animation") |
509 | { | 509 | { |
510 | inType = 19; | 510 | inType = (sbyte)InventoryType.Animation; |
511 | assType = 20; | 511 | assType = (sbyte)AssetType.Animation; |
512 | } | 512 | } |
513 | else if (inventoryType == "wearable") | 513 | else if (inventoryType == "wearable") |
514 | { | 514 | { |
515 | inType = 18; | 515 | inType = (sbyte)InventoryType.Wearable; |
516 | switch (assetType) | 516 | switch (assetType) |
517 | { | 517 | { |
518 | case "bodypart": | 518 | case "bodypart": |
519 | assType = 13; | 519 | assType = (sbyte)AssetType.Bodypart; |
520 | break; | 520 | break; |
521 | case "clothing": | 521 | case "clothing": |
522 | assType = 5; | 522 | assType = (sbyte)AssetType.Clothing; |
523 | break; | 523 | break; |
524 | } | 524 | } |
525 | } | 525 | } |