diff --git a/editor.html b/editor.html
index 198bbaa7..22b17d73 100644
--- a/editor.html
+++ b/editor.html
@@ -237,7 +237,7 @@
-
+
画线
画矩形
diff --git a/libs/control.js b/libs/control.js
index 9daee5eb..af6b00df 100644
--- a/libs/control.js
+++ b/libs/control.js
@@ -286,7 +286,7 @@ control.prototype.resetStatus = function(hero, hard, floorId, route, maps, value
// 保存的Index
core.status.saveIndex = core.getLocalStorage('saveIndex2', 1);
- core.status.automaticRoute.clickMoveDirectly = core.getLocalStorage('clickMoveDirectly', false);
+ core.status.automaticRoute.clickMoveDirectly = core.getLocalStorage('clickMoveDirectly', true);
if (core.isset(values))
core.values = core.clone(values);
diff --git a/libs/core.js b/libs/core.js
index 82fdd9ef..305109f3 100644
--- a/libs/core.js
+++ b/libs/core.js
@@ -104,7 +104,7 @@ function core() {
'cursorX': null,
'cursorY': null,
"moveDirectly": false,
- 'clickMoveDirectly': false,
+ 'clickMoveDirectly': true,
},
// 按下键的时间:为了判定双击
diff --git a/libs/maps.js b/libs/maps.js
index 624d68d2..04b3a3ae 100644
--- a/libs/maps.js
+++ b/libs/maps.js
@@ -266,8 +266,10 @@ maps.prototype.canMoveDirectly = function (destX,destY) {
if (fromX==destX&&fromY==destY) return 0;
// 可以无视起点事件
- // if (core.getBlock(fromX,fromY)!=null||core.status.checkBlock.damage[13*fromX+fromY]>0)
- // return -1;
+ var nowBlockId = core.getBlockId(fromX, fromY);
+ if ((nowBlockId!=null&&nowBlockId!='upFloor'&&nowBlockId!='downFloor')
+ ||core.status.checkBlock.damage[13*fromX+fromY]>0)
+ return -1;
// BFS
var visited=[], queue=[];
diff --git a/常用工具/RM动画导出器.exe b/常用工具/RM动画导出器.exe
index 8ac2b45a..53123a46 100644
Binary files a/常用工具/RM动画导出器.exe and b/常用工具/RM动画导出器.exe differ