From b0069421278d6fc3fac0153e2f19c549c7bfce32 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 29 Oct 2022 01:28:12 +0200 Subject: a --- src/chunk.cpp | 2 +- src/tile.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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; -- cgit v1.2.3