v3.0.0: danger indicator panning now respects follow intensity

This commit is contained in:
Evan Debenham
2024-12-31 13:32:07 -05:00
parent d9d5c83395
commit b3657f11a0

View File

@@ -118,7 +118,7 @@ public class DangerIndicator extends Tag {
if (Dungeon.hero.canAttack(target)) AttackIndicator.target(target);
if (Dungeon.hero.curAction == null && target.sprite != null) {
Camera.main.panTo(target.sprite.center(), 5f);
Camera.main.panFollow(target.sprite, 5f);
}
}
}