From ab4e4b640d7fbc97abf7e9b4c58592d70c4358b9 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期三, 14 十一月 2018 17:22:21 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
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