From 41fd593a8790fc76f3179a1a39e624fdf5ce782b Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 7 Jun 2017 03:32:43 -0400 Subject: [PATCH] v0.6.0a: improved the resume indicator --- .../shatteredpixeldungeon/actors/hero/Hero.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java index 130216bac..60f71398c 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java @@ -551,7 +551,9 @@ public class Hero extends Char { } 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; } curAction = null;