From 8b06cb075cd4d3577a4dd6a67016adcb088c8c0b Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期三, 14 十一月 2018 17:12:19 +0800
Subject: [PATCH] 2375 【1.2】仙盟宴会,寻路卡住

---
 Fight/MapTransferUtility.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Fight/MapTransferUtility.cs b/Fight/MapTransferUtility.cs
index 3581aec..1f12a41 100644
--- a/Fight/MapTransferUtility.cs
+++ b/Fight/MapTransferUtility.cs
@@ -919,7 +919,8 @@
                 Clear();
             }
         }
-        else if (_npcConfig.NPCType == (int)E_NpcType.Collect)
+        else if (_npcConfig.NPCType == (int)E_NpcType.Collect
+              || _npcConfig.NPCType == (int)E_NpcType.Flag)
         {
             float _chkDist = GeneralDefine.CloseNpcDist + _npcConfig.ModelRadius + 0.3f;
             if (_chkDistSqrt <= Mathf.Pow(_chkDist, 2))

--
Gitblit v1.8.0