diff --git a/lib/qtgraph/marching_squares.cpp b/lib/qtgraph/marching_squares.cpp index be6b40e..d34f23e 100644 --- a/lib/qtgraph/marching_squares.cpp +++ b/lib/qtgraph/marching_squares.cpp @@ -30,8 +30,8 @@ void MarchingSquares::ReadImage(const std::string& filename) else c = DESTROYABLE; // everything else // mark borders as SOLID, such that the entities in the world cannot fall off - // if (x == 0 || x == width_ - 1 || y == 0 || y == height_ - 1) - // c = SOLID; + if (x == 0 || x == width_ - 1 || y == 0 || y == height_ - 1) + c = SOLID; cells_.push_back(c); }