v0.9.0: fixed mimic sprites staying hiding when they shouldn't

This commit is contained in:
Evan Debenham 2020-09-13 11:43:04 -04:00
parent 0f396dcc50
commit 1d36642068

View File

@ -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;