From a9b818e3670ba0b0d74f1e2dc4dd959dbb61ce6d Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期三, 07 十一月 2018 16:15:52 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
Fight/MapTransferUtility.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Fight/MapTransferUtility.cs b/Fight/MapTransferUtility.cs
index aa92fe3..c5ef8d1 100644
--- a/Fight/MapTransferUtility.cs
+++ b/Fight/MapTransferUtility.cs
@@ -958,6 +958,7 @@
{
if (_chkDistSqrt <= Mathf.Pow(_chkDist, 2))
{
+ Clear();
NPCInteractProcessor.InvokeEvent((E_NpcType)_npcConfig.NPCType, _npcConfig.NPCID, _npc.ServerInstID);
_hero.LockTarget = _npc;
_hero.SelectTarget = _npc;
@@ -969,7 +970,6 @@
_npc.Forward = -_npc2heroDir;
}
_hero.Forward = _npc2heroDir;
- Clear();
}
}
}
--
Gitblit v1.8.0