v0.9.0: fixed mimic sprites staying hiding when they shouldn't
This commit is contained in:
parent
0f396dcc50
commit
1d36642068
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user