From 1d36642068f85370f1209a656900f9bee7c70d8a Mon Sep 17 00:00:00 2001 From: Evan Debenham <Evan@ShatteredPixel.com> Date: Sun, 13 Sep 2020 11:43:04 -0400 Subject: [PATCH] v0.9.0: fixed mimic sprites staying hiding when they shouldn't --- .../shatteredpixel/shatteredpixeldungeon/actors/mobs/Mimic.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Mimic.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Mimic.java index c280ab920..2d6a205a6 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Mimic.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Mimic.java @@ -177,6 +177,7 @@ public class Mimic extends Mob { public void stopHiding(){ state = HUNTING; + if (sprite != null) sprite.idle(); if (Actor.chars().contains(this) && Dungeon.level.heroFOV[pos]) { enemy = Dungeon.hero; target = Dungeon.hero.pos;