v0.6.0a: improved the resume indicator
This commit is contained in:
parent
55a3e0559a
commit
41fd593a87
|
@ -551,7 +551,9 @@ public class Hero extends Char {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void interrupt() {
|
public void interrupt() {
|
||||||
if (isAlive() && curAction != null && curAction instanceof HeroAction.Move && curAction.dst != pos) {
|
if (isAlive() && curAction != null &&
|
||||||
|
((curAction instanceof HeroAction.Move && curAction.dst != pos) ||
|
||||||
|
(curAction instanceof HeroAction.Ascend || curAction instanceof HeroAction.Descend))) {
|
||||||
lastAction = curAction;
|
lastAction = curAction;
|
||||||
}
|
}
|
||||||
curAction = null;
|
curAction = null;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user