diff --git a/autowalker.cpp b/autowalker.cpp index b5edfaf..bc80764 100644 --- a/autowalker.cpp +++ b/autowalker.cpp @@ -266,7 +266,6 @@ void Autowalker::autowalk() { } int move_attempts = 0; - bool map_opened_once = false; auto start = ai::load_state("Host::initial_state"); auto goal = ai::load_state("Host::final_state"); diff --git a/autowalker.hpp b/autowalker.hpp index 984bdcd..118ab61 100644 --- a/autowalker.hpp +++ b/autowalker.hpp @@ -9,6 +9,7 @@ struct Autowalker { int enemy_count = 0; int item_count = 0; int device_count = 0; + bool map_opened_once = false; gui::FSM& fsm; Autowalker(gui::FSM& fsm)