From 4efedb5a54922452a3d90e7074d78d19b2f5f2ce Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期四, 24 一月 2019 19:34:20 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 System/Compose/New/ComposeEquipWin.cs |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/System/Compose/New/ComposeEquipWin.cs b/System/Compose/New/ComposeEquipWin.cs
index 91db60d..575938c 100644
--- a/System/Compose/New/ComposeEquipWin.cs
+++ b/System/Compose/New/ComposeEquipWin.cs
@@ -708,8 +708,11 @@
         private void SetFixedItemIndexDic()
         {
             fixedItemIndexDict.Clear();
-            SinglePackModel singlePack = playerPack.GetSinglePackModel(PackType.rptItem);
-            if (singlePack == null || compoundModel == null) return;
+            if (compoundModel == null) return;
+
+            var packType = composeWinModel.GetPackTypeByMakerId(compoundModel.makeID);
+            SinglePackModel singlePack = playerPack.GetSinglePackModel(packType);
+            if (singlePack == null) return;
 
             int minBindCnt = 0;
             int minNoBindCnt = 0;

--
Gitblit v1.8.0