少年修仙传客户端代码仓库
client_Wu Xijin
2018-10-18 1868bc632a9134b6891d4fc5f427e3f280b9e973
System/MainInterfacePanel/DefaultDialogueBoxWin.cs
@@ -86,7 +86,7 @@
            }
            float _chkDistSqrt = MathUtility.DistanceSqrtXZ(_hero.Pos, _hero.LockTarget.Pos);
            if (_chkDistSqrt > Mathf.Pow(GeneralConfig.Instance.FarawayNpcDist, 2))
            if (_chkDistSqrt > Mathf.Pow(GeneralDefine.FarawayNpcDist, 2))
            {
                WindowCenter.Instance.Close<DefaultDialogueBoxWin>();
                WindowCenter.Instance.Open<MainInterfaceWin>();