diff options
author | UbitUmarov | 2019-09-11 15:52:26 +0100 |
---|---|---|
committer | UbitUmarov | 2019-09-11 15:52:26 +0100 |
commit | 5f1fde5f385cdc47900a59c2297a7c77d6bce1cc (patch) | |
tree | 10895df28c7b7d0074319c307ff016a69f91dd86 /OpenSim | |
parent | fix a bad typo (diff) | |
download | opensim-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.cs | 4 |
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 |