fix bad indexes math
parent
0bef393b6b
commit
5f1fde5f38
|
@ -861,8 +861,8 @@ namespace OpenSim.Framework
|
||||||
m_wearables[i] = new AvatarWearable((OSDArray)wears[i]);
|
m_wearables[i] = new AvatarWearable((OSDArray)wears[i]);
|
||||||
if (wears8Count > 0)
|
if (wears8Count > 0)
|
||||||
{
|
{
|
||||||
for (int i = wears.Count; i < wears8Count + wears.Count; ++i)
|
for (int i = 0; i < wears8Count; ++i)
|
||||||
m_wearables[i] = new AvatarWearable((OSDArray)wears[i]);
|
m_wearables[i + wears.Count] = new AvatarWearable((OSDArray)wears8[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue