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]);