Don't need the debugging.

master
Zed A. Shaw 1 week ago
parent 11ea08bc7f
commit a72d2879fd
  1. 4
      autowalker.cpp
  2. 1
      gui_fsm.cpp

@ -9,10 +9,6 @@ Pathing compute_paths(gui::FSM& fsm, int& count_out) {
Pathing paths{matrix::width(walls_copy), matrix::height(walls_copy)}; Pathing paths{matrix::width(walls_copy), matrix::height(walls_copy)};
count_out = 0; count_out = 0;
// BUG: using walls() will cause a map full of walls?
dbc::check(matrix::width(walls_copy) == paths.$width, "WTF the maps's walls width changed?");
dbc::check(matrix::height(walls_copy) == paths.$height, "WTF the maps's walls height changed?");
fsm.$level.world->query<components::Position>( fsm.$level.world->query<components::Position>(
[&](const auto ent, auto& position) { [&](const auto ent, auto& position) {
if(ent != fsm.$level.player) { if(ent != fsm.$level.player) {

@ -1,4 +1,3 @@
#define FSM_DEBUG 1
#include "gui_fsm.hpp" #include "gui_fsm.hpp"
#include <iostream> #include <iostream>
#include <chrono> #include <chrono>

Loading…
Cancel
Save