aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/AvatarWearable.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/AvatarWearable.cs')
-rw-r--r--OpenSim/Framework/AvatarWearable.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Framework/AvatarWearable.cs b/OpenSim/Framework/AvatarWearable.cs
index e662d5f..80ed77f 100644
--- a/OpenSim/Framework/AvatarWearable.cs
+++ b/OpenSim/Framework/AvatarWearable.cs
@@ -68,7 +68,7 @@ namespace OpenSim.Framework
68 public static readonly int ALPHA = 13; 68 public static readonly int ALPHA = 13;
69 public static readonly int TATTOO = 14; 69 public static readonly int TATTOO = 14;
70 70
71 public static readonly int MAX_WEARABLES = 15; 71 public static readonly int LEGACY_VERSION_MAX_WEARABLES = 15;
72// public static readonly int PHYSICS = 15; 72// public static readonly int PHYSICS = 15;
73// public static int MAX_WEARABLES = 16; 73// public static int MAX_WEARABLES = 16;
74 74
@@ -225,8 +225,9 @@ namespace OpenSim.Framework
225 { 225 {
226 get 226 get
227 { 227 {
228 AvatarWearable[] defaultWearables = new AvatarWearable[MAX_WEARABLES]; 228 // We use the legacy count here because this is just a fallback anyway
229 for (int i = 0; i < MAX_WEARABLES; i++) 229 AvatarWearable[] defaultWearables = new AvatarWearable[LEGACY_VERSION_MAX_WEARABLES];
230 for (int i = 0; i < LEGACY_VERSION_MAX_WEARABLES; i++)
230 { 231 {
231 defaultWearables[i] = new AvatarWearable(); 232 defaultWearables[i] = new AvatarWearable();
232 } 233 }