From eedeb8a020fce13e0e63ad7c57adfdff7578e875 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期四, 14 三月 2019 21:05:23 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

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

diff --git a/Fight/MapTransferUtility.cs b/Fight/MapTransferUtility.cs
index c8c4128..a0058a0 100644
--- a/Fight/MapTransferUtility.cs
+++ b/Fight/MapTransferUtility.cs
@@ -228,8 +228,13 @@
             GActor _npc = GAMgr.Instance.GetCloserNPC(_hero.Pos, npcID);
             if (_npc != null)
             {
-                //Debug.LogFormat(" |-- 鍦ㄨ閲庡唴");
                 _destPostion = _npc.Pos;
+
+                NpcID = npcID;
+                MapTransferDoType = E_MapTransferDoType.Npc;
+
+                _hero.MoveToPosition(_destPostion);
+                yield break;
             }
         }
         else

--
Gitblit v1.8.0