From 22b99dc49cb5fe2d39f92b09ed35938d88c321ab Mon Sep 17 00:00:00 2001 From: lizhuoyuan <2820814112@qq.com> Date: Sat, 4 Jan 2025 15:56:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=87=AA=E5=8A=A8=E6=B8=85=E6=80=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/control.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/libs/control.js b/libs/control.js index cd07d099..5423504f 100644 --- a/libs/control.js +++ b/libs/control.js @@ -1878,15 +1878,6 @@ control.prototype._replayAction_getNext = function (action) { control.prototype._replayAction_moveDirectly = function (action) { if (action.indexOf("move:") != 0) return false; - // 忽略连续的瞬移事件;如果大地图某一边超过计算范围则不合并 - if (!core.hasFlag('poison') && core.status.thisMap.width < 2 * core.bigmap.extend + core.__SIZE__ - && core.status.thisMap.height < 2 * core.bigmap.extend + core.__SIZE__) { - while (core.status.replay.toReplay.length > 0 && - core.status.replay.toReplay[0].indexOf('move:') == 0) { - core.status.route.push(action); - action = core.status.replay.toReplay.shift(); - } - } var pos = action.substring(5).split(":"); var x = parseInt(pos[0]), y = parseInt(pos[1]);