v0.9.0: fixed mimic sprites staying hiding when they shouldn't
This commit is contained in:
@@ -177,6 +177,7 @@ public class Mimic extends Mob {
|
|||||||
|
|
||||||
public void stopHiding(){
|
public void stopHiding(){
|
||||||
state = HUNTING;
|
state = HUNTING;
|
||||||
|
if (sprite != null) sprite.idle();
|
||||||
if (Actor.chars().contains(this) && Dungeon.level.heroFOV[pos]) {
|
if (Actor.chars().contains(this) && Dungeon.level.heroFOV[pos]) {
|
||||||
enemy = Dungeon.hero;
|
enemy = Dungeon.hero;
|
||||||
target = Dungeon.hero.pos;
|
target = Dungeon.hero.pos;
|
||||||
|
|||||||
Reference in New Issue
Block a user