Autowalker now figures out there's an enemy near when first entering a level.
This commit is contained in:
parent
ed33a36bca
commit
7207d53885
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue