diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/chunk.cpp | 2 | ||||
-rw-r--r-- | src/tile.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/chunk.cpp b/src/chunk.cpp index 92817765..9eca0138 100644 --- a/src/chunk.cpp +++ b/src/chunk.cpp @@ -8,7 +8,7 @@ bool chunk::empty(bool force) const noexcept return false; for (const tile& x : _tiles) - if (x.ground_image || x.wall_north || x.wall_west) + if (x.ground || x.wall_north || x.wall_west) { _maybe_empty = false; return false; diff --git a/src/tile.hpp b/src/tile.hpp index ef0b1ade..0448b426 100644 --- a/src/tile.hpp +++ b/src/tile.hpp @@ -8,7 +8,7 @@ struct tile final { enum pass_mode : std::uint8_t { pass_blocked, pass_ok, pass_shoot_through, }; - tile_image ground_image, wall_north, wall_west; + tile_image ground, wall_north, wall_west; pass_mode passability = pass_shoot_through; constexpr tile() = default; |