Merge remote-tracking branch 'refs/remotes/ckcz123/master' into dev-2.0-appendPic-20180218

This commit is contained in:
YouWei Zhao 2018-02-23 16:36:39 +08:00
commit 2dc118b753

View File

@ -375,9 +375,11 @@ events.prototype.doAction = function() {
originBlock.block.id = data.number;
originBlock.block.event = block.event;
}
core.drawMap(floorId);
core.drawHero(core.getHeroLoc('direction'), core.getHeroLoc('x'), core.getHeroLoc('y'), 'stop');
core.updateStatusBar();
if (floorId==core.status.floorId) {
core.drawMap(floorId);
core.drawHero(core.getHeroLoc('direction'), core.getHeroLoc('x'), core.getHeroLoc('y'), 'stop');
core.updateStatusBar();
}
}
this.doAction();
break;