Fix PushBox Bug
This commit is contained in:
parent
f92f4e7429
commit
72f1e2f3ae
@ -1173,12 +1173,14 @@ events.prototype.pushBox = function (data) {
|
||||
}
|
||||
|
||||
core.updateStatusBar();
|
||||
core.lockControl();
|
||||
core.eventMoveHero([direction], null, function () {
|
||||
core.unLockControl();
|
||||
|
||||
core.status.replay.animate = true;
|
||||
core.moveHero(direction, function() {
|
||||
core.status.replay.animate = false;
|
||||
core.status.route.pop();
|
||||
core.events.afterPushBox();
|
||||
core.replay();
|
||||
})
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -24,8 +24,8 @@ main.floors.sample0 =
|
||||
[224, 254, 212, 262, 204, 5, 0, 1, 31, 32, 34, 33, 36],
|
||||
[201, 261, 217, 264, 207, 5, 0, 1, 27, 28, 29, 30, 35],
|
||||
[5, 5, 125, 5, 5, 5, 0, 1, 21, 22, 23, 24, 25],
|
||||
[0, 0, 237, 0, 0, 0, 45, 1, 1, 1, 121, 1, 1],
|
||||
[4, 4, 133, 4, 4, 4, 0, 0, 0, 0, 0, 85, 124],
|
||||
[0, 0, 237, 0, 0, 237, 169, 1, 1, 1, 121, 1, 1],
|
||||
[4, 4, 133, 4, 4, 4, 0, 45, 0, 0, 0, 85, 124],
|
||||
[87, 11, 12, 13, 14, 4, 4, 2, 2, 2, 122, 2, 2],
|
||||
[88, 89, 90, 91, 92, 93, 94, 2, 81, 82, 83, 84, 86],
|
||||
],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user