少年修仙传客户端代码仓库
client_Wu Xijin
2019-03-14 a4708f8dfb78c97ffa69560fac17b2de7bf9ff77
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