少年修仙传客户端代码仓库
client_Wu Xijin
2019-02-19 2fb0f9761ef9789ce068fbe26d2e4c7af1148ec0
System/Dogz/DogzModel.cs
@@ -445,7 +445,7 @@
                        bool isAdd = true;
                        for (int i = 0; i < modellist.Count; i++)
                        {
                            if (modellist[i].itemInfo.ItemPlace == index)
                            if (modellist[i].itemPlace == index)
                            {
                                isAdd = false;
                                modellist[i] = itemModel;
@@ -461,7 +461,7 @@
                    {
                        for (int i = 0; i < modellist.Count; i++)
                        {
                            if (modellist[i].itemInfo.ItemPlace == index)
                            if (modellist[i].itemPlace == index)
                            {
                                modellist.RemoveAt(i);
                                break;
@@ -585,7 +585,7 @@
           
            for(int i = 0; i < _list.Count; i++)
            {
                int equipPlace = GetDogzEquipPlaceByIndex(_list[i].itemInfo.ItemPlace);
                int equipPlace = GetDogzEquipPlaceByIndex(_list[i].itemPlace);
                if(equipPlace == _equipPlace)
                {
                    _equipData = _list[i];