修复勇士开animate后大地图问题
This commit is contained in:
parent
9bb9ab6701
commit
527472a5d4
@ -148,7 +148,7 @@ control.prototype._animationFrame_globalAnimate = function (timestamp) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Global hero animate
|
// Global hero animate
|
||||||
if ((core.status.hero || {}).animate && core.status.heroMoving == 0) {
|
if ((core.status.hero || {}).animate && core.status.heroMoving == 0 && main.mode == 'play') {
|
||||||
core.drawHero('stop', null, core.status.globalAnimateStatus);
|
core.drawHero('stop', null, core.status.globalAnimateStatus);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user