From 96b4e02128b436262378617c1cef0efcd1e23a4a Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期二, 22 一月 2019 15:41:27 +0800
Subject: [PATCH] 382 修复UI界面无时装但有时装副手时的手臂显示问题

---
 System/FairyAu/FairyFeastTransmitShow.cs |    4 +++-
 UI/Common/UI3DShowHero.cs                |    4 +++-
 System/Realm/RealmBossShow.cs            |    4 +++-
 3 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/System/FairyAu/FairyFeastTransmitShow.cs b/System/FairyAu/FairyFeastTransmitShow.cs
index 7e66543..158ddc2 100644
--- a/System/FairyAu/FairyFeastTransmitShow.cs
+++ b/System/FairyAu/FairyFeastTransmitShow.cs
@@ -410,7 +410,9 @@
                         }
                     }
 
-                    if (secondaryResId == 0 || (data.fashionClothesId != 0 && data.fashionSecondaryId > 0))
+                    if (secondaryResId == 0
+                    || (data.fashionClothesId != 0 && data.fashionSecondaryId > 0)
+                    || (data.fashionClothesId == 0 && data.fashionSecondaryId > 0))
                     {
                         PutOnExtraSecondary(job, extraSecondaryId);
                     }
diff --git a/System/Realm/RealmBossShow.cs b/System/Realm/RealmBossShow.cs
index d841540..eb038a1 100644
--- a/System/Realm/RealmBossShow.cs
+++ b/System/Realm/RealmBossShow.cs
@@ -272,7 +272,9 @@
                     }
                 }
 
-                if (secondaryResId == 0 || (fashionClothesId != 0 && fashionSecondaryId > 0))
+                if (secondaryResId == 0
+                || (fashionClothesId != 0 && fashionSecondaryId > 0)
+                || (fashionClothesId == 0 && fashionSecondaryId > 0))
                 {
                     PutOnExtraSecondary(job, extraSecondaryId);
                 }
diff --git a/UI/Common/UI3DShowHero.cs b/UI/Common/UI3DShowHero.cs
index 65ba144..8afb8ec 100644
--- a/UI/Common/UI3DShowHero.cs
+++ b/UI/Common/UI3DShowHero.cs
@@ -116,7 +116,9 @@
                     }
                 }
 
-                if (secondaryResId == 0 || (data.fashionClothesId != 0 && data.fashionSecondaryId > 0))
+                if (secondaryResId == 0
+                 || (data.fashionClothesId != 0 && data.fashionSecondaryId > 0)
+                 || (data.fashionClothesId == 0 && data.fashionSecondaryId > 0))
                 {
                     PutOnExtraSecondary(job, extraSecondaryId);
                 }

--
Gitblit v1.8.0