summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-29 01:28:12 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-29 01:28:12 +0200
commitb0069421278d6fc3fac0153e2f19c549c7bfce32 (patch)
tree2104e6dbf45bcd9fbedf1dd144cfdec4f0dbfc1e /src
parentb6a42cc53f808c86342d1bcd400ea95e6e7f5762 (diff)
a
Diffstat (limited to 'src')
-rw-r--r--src/chunk.cpp2
-rw-r--r--src/tile.hpp2
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;