Autowalker now figures out there's an enemy near when first entering a level.

This commit is contained in:
Zed A. Shaw 2025-09-06 22:50:20 -04:00
parent ed33a36bca
commit 7207d53885

View file

@ -181,6 +181,7 @@ void Autowalker::handle_boss_fight() {
if(fsm.in_state(gui::State::NEXT_LEVEL)) {
// eventually we'll have AI handle this too
send_event(gui::Event::STAIRS_DOWN);
face_enemy();
}
}
@ -285,6 +286,7 @@ void Autowalker::autowalk() {
craft_weapon();
open_map();
face_enemy();
int move_attempts = 0;