aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/AvatarAppearance.cs
diff options
context:
space:
mode:
authorUbitUmarov2019-09-11 15:52:26 +0100
committerUbitUmarov2019-09-11 15:52:26 +0100
commit5f1fde5f385cdc47900a59c2297a7c77d6bce1cc (patch)
tree10895df28c7b7d0074319c307ff016a69f91dd86 /OpenSim/Framework/AvatarAppearance.cs
parentfix a bad typo (diff)
downloadopensim-SC-5f1fde5f385cdc47900a59c2297a7c77d6bce1cc.zip
opensim-SC-5f1fde5f385cdc47900a59c2297a7c77d6bce1cc.tar.gz
opensim-SC-5f1fde5f385cdc47900a59c2297a7c77d6bce1cc.tar.bz2
opensim-SC-5f1fde5f385cdc47900a59c2297a7c77d6bce1cc.tar.xz
fix bad indexes math
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/AvatarAppearance.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/AvatarAppearance.cs b/OpenSim/Framework/AvatarAppearance.cs
index ba02dbc..3a2a393 100644
--- a/OpenSim/Framework/AvatarAppearance.cs
+++ b/OpenSim/Framework/AvatarAppearance.cs
@@ -861,8 +861,8 @@ namespace OpenSim.Framework
861 m_wearables[i] = new AvatarWearable((OSDArray)wears[i]); 861 m_wearables[i] = new AvatarWearable((OSDArray)wears[i]);
862 if (wears8Count > 0) 862 if (wears8Count > 0)
863 { 863 {
864 for (int i = wears.Count; i < wears8Count + wears.Count; ++i) 864 for (int i = 0; i < wears8Count; ++i)
865 m_wearables[i] = new AvatarWearable((OSDArray)wears[i]); 865 m_wearables[i + wears.Count] = new AvatarWearable((OSDArray)wears8[i]);
866 } 866 }
867 } 867 }
868 else 868 else