v0.8.0a: hunting enemies now update their target position when attacking

This commit is contained in:
Evan Debenham 2020-04-27 01:12:19 -04:00
parent 8b40399aa7
commit c10456c6a4

View File

@ -850,6 +850,7 @@ public abstract class Mob extends Char {
enemySeen = enemyInFOV;
if (enemyInFOV && !isCharmedBy( enemy ) && canAttack( enemy )) {
target = enemy.pos;
return doAttack( enemy );
} else {