fix bad indexes math

0.9.1.0-post-fixes
UbitUmarov 2019-09-11 15:52:26 +01:00
parent 0bef393b6b
commit 5f1fde5f38
1 changed files with 2 additions and 2 deletions

View File

@ -861,8 +861,8 @@ namespace OpenSim.Framework
m_wearables[i] = new AvatarWearable((OSDArray)wears[i]);
if (wears8Count > 0)
{
for (int i = wears.Count; i < wears8Count + wears.Count; ++i)
m_wearables[i] = new AvatarWearable((OSDArray)wears[i]);
for (int i = 0; i < wears8Count; ++i)
m_wearables[i + wears.Count] = new AvatarWearable((OSDArray)wears8[i]);
}
}
else