少年修仙传客户端代码仓库
client_Hale
2018-11-07 5e7ee4b9e5dff53631af9072559df581fe097d8a
2305 【BUG】【1.2】引导点击任务时,会自动弹出NPC的默认对话框
1个文件已修改
2 ■■■■■ 已修改文件
Fight/MapTransferUtility.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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();
                }
            }
        }