Fix Replay Bug
This commit is contained in:
parent
7db822e04a
commit
cd530d62b4
@ -462,7 +462,7 @@ control.prototype.setAutomaticRoute = function (destX, destY, stepPostfix) {
|
||||
if (core.timeout.turnHeroTimeout!=null) return;
|
||||
|
||||
// 单击瞬间移动
|
||||
if (core.status.heroStop) {
|
||||
if (core.status.heroStop && core.status.heroMoving==0) {
|
||||
if (stepPostfix.length<=1 && core.getFlag('clickMove', true) && core.control.tryMoveDirectly(destX, destY))
|
||||
return;
|
||||
}
|
||||
|
||||
@ -89,7 +89,9 @@ maps.prototype.addInfo = function (block) {
|
||||
block.event.trigger = 'getItem';
|
||||
}
|
||||
if (!core.isset(block.event.noPass)) {
|
||||
block.event.noPass = true;
|
||||
if (block.event.cls != 'items') {
|
||||
block.event.noPass = true;
|
||||
}
|
||||
}
|
||||
if (!core.isset(block.event.animate)) {
|
||||
if (block.event.cls=='enemys' || block.event.cls=='npcs') {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user