From 39781aa3fa5d6fb5c9f264b21dd9aff9646b1774 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 23 Nov 2015 18:15:47 -0500 Subject: [PATCH] v0.3.2c: fixed an issue with tengu dieing while sleeping --- .../shatteredpixeldungeon/actors/mobs/Tengu.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Tengu.java b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Tengu.java index 160b0bee3..8abef8bab 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Tengu.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Tengu.java @@ -92,6 +92,9 @@ public class Tengu extends Mob { //phase 2 of the fight is over if (dmg >= HP) { + if (state == SLEEPING) { + state = WANDERING; + } ((PrisonBossLevel)Dungeon.level).progress(); return; }