From 9406d87dca383b710d49e3fb02b00a102d45331f Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期四, 10 一月 2019 20:48:19 +0800
Subject: [PATCH] 5729 【前端】【1.5】时装功能开发

---
 UI/Common/UI3DShowHero.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/UI/Common/UI3DShowHero.cs b/UI/Common/UI3DShowHero.cs
index 561da56..5a089b9 100644
--- a/UI/Common/UI3DShowHero.cs
+++ b/UI/Common/UI3DShowHero.cs
@@ -91,7 +91,7 @@
             PutOnSecondary(job, secondaryResId);
 
             var extraSecondaryId = 0;
-            if (data.job == 1 && data.fashionSecondaryId > 0)
+            if (data.job == 1 && data.fashionSecondaryId > 0 && data.fashionClothesId == 0)
             {
                 if (data.clothesId == 0)
                 {
@@ -429,7 +429,7 @@
 
         private void PutOnExtraSecondary(int job, int extraSecondaryId)
         {
-            var oldSecondary = extraSecondaryId;
+            var oldSecondary = this.extraSecondaryId;
             if (oldSecondary == extraSecondaryId)
             {
                 return;

--
Gitblit v1.8.0