Finally upgraded the strings to const& since I'm about to pull guecs out and distribute it. Oh well, the joke's finally over.

This commit is contained in:
Zed A. Shaw 2025-05-03 14:52:56 -04:00
parent 82ce3cb6be
commit 438bd8ab8a
8 changed files with 53 additions and 74 deletions

View file

@ -61,11 +61,6 @@ Pathing Autowalker::path_to_items() {
return compute_paths<components::InventoryItem>(fsm);
}
Pathing Autowalker::path_to_devices() {
return compute_paths<components::Device>(fsm);
}
void Autowalker::handle_window_events() {
fsm.$window.handleEvents(
[&](const sf::Event::KeyPressed &) {
@ -315,6 +310,8 @@ void Autowalker::autowalk() {
handle_boss_fight();
handle_player_walk(start, goal);
if(map_opened_once && move_attempts > 20) send_event(gui::Event::MAP_OPEN);
move_attempts++;
} while(move_attempts < 100 && fsm.autowalking);
}