From e274f8465d6798c8e8c09c085b871c6090d6e7c5 Mon Sep 17 00:00:00 2001
From: Client_PangDeRong <593317293@qq.com>
Date: 星期五, 07 九月 2018 20:37:29 +0800
Subject: [PATCH] 1888 修改仙盟仓库装备评分图标显示错误

---
 System/KnapSack/New/CommonItemBaisc.cs |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/System/KnapSack/New/CommonItemBaisc.cs b/System/KnapSack/New/CommonItemBaisc.cs
index 9c4a059..cb931c5 100644
--- a/System/KnapSack/New/CommonItemBaisc.cs
+++ b/System/KnapSack/New/CommonItemBaisc.cs
@@ -221,11 +221,10 @@
             if (config == null || (!isCompare && compareSocre <= 0) || config.EquipPlace == 0) return 0;
 
             ItemModel model = playerPack.GetItemModelByGUID(guid);
-            if (model != null 
-                && (modelInterface.IsOverdue(guid, itemId, model.useDataDict) 
-                || (playerJob != Math.Floor((double)config.JobLimit / 100) && config.JobLimit != 0))) return 1;
+            if (model != null && modelInterface.IsOverdue(guid, itemId, model.useDataDict)) return 1;
+            if (playerJob != Math.Floor((double)config.JobLimit / 100) && config.JobLimit != 0) return 1;
 
-            if(isCompare)
+            if (isCompare)
             {
                if(type != PackType.rptDogzItem)
                 {

--
Gitblit v1.8.0