v0.3.1: fixed hero not appearing dead in some cases.

This commit is contained in:
Evan Debenham
2015-07-19 20:11:57 -04:00
committed by Evan Debenham
parent f8a99c6533
commit a532a6e9e5
@@ -52,7 +52,10 @@ public class HeroSprite extends CharSprite {
texture( Dungeon.hero.heroClass.spritesheet() ); texture( Dungeon.hero.heroClass.spritesheet() );
updateArmor(); updateArmor();
if (ch.isAlive())
idle(); idle();
else
die();
} }
public void updateArmor() { public void updateArmor() {