Fix a small bug
This commit is contained in:
parent
f30ccb5665
commit
fa5aece101
@ -1841,6 +1841,7 @@ core.prototype.setHeroMoveInterval = function (direction, x, y, callback) {
|
|||||||
////// 实际每一步的行走过程 //////
|
////// 实际每一步的行走过程 //////
|
||||||
core.prototype.moveAction = function (callback) {
|
core.prototype.moveAction = function (callback) {
|
||||||
if (core.interval.openDoorAnimate!=null) return; // 开门判断
|
if (core.interval.openDoorAnimate!=null) return; // 开门判断
|
||||||
|
if (core.status.heroMoving>0) return;
|
||||||
var scan = {
|
var scan = {
|
||||||
'up': {'x': 0, 'y': -1},
|
'up': {'x': 0, 'y': -1},
|
||||||
'left': {'x': -1, 'y': 0},
|
'left': {'x': -1, 'y': 0},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user