v0.6.2: fixed cases where the lost icon would persist when it shouldn't

This commit is contained in:
Evan Debenham 2017-09-19 02:23:48 -04:00
parent b214ea58cf
commit 6d8e64d5bd
2 changed files with 1 additions and 2 deletions

View File

@ -163,6 +163,7 @@ public abstract class Mob extends Char {
sprite.showAlert();
} else {
sprite.hideAlert();
sprite.hideLost();
}
if (paralysed > 0) {
@ -698,7 +699,6 @@ public abstract class Mob extends Char {
} else {
enemySeen = false;
sprite.hideLost();
int oldPos = pos;
if (target != -1 && getCloser( target )) {

View File

@ -682,7 +682,6 @@ public class DriedRose extends Artifact {
} else {
enemySeen = false;
sprite.hideLost();
int oldPos = pos;
//always move towards the hero when wandering