From 40df7155f48c5677fa61d40ca2511b5270f6c9b5 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 18 Jul 2016 04:33:11 -0400 Subject: [PATCH] v0.4.1: allowed the hero to continue none looped animations when they are ready --- .../shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java b/src/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java index 850cd5d93..ef59057bf 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java @@ -531,7 +531,7 @@ public class Hero extends Char { } private void ready() { - sprite.idle(); + if (sprite.looping()) sprite.idle(); curAction = null; damageInterrupt = true; ready = true;