Don't need the debugging.
This commit is contained in:
parent
11ea08bc7f
commit
a72d2879fd
2 changed files with 0 additions and 5 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue