summaryrefslogtreecommitdiffhomepage
path: root/src/chunk.cpp
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/chunk.cpp
parentb6a42cc53f808c86342d1bcd400ea95e6e7f5762 (diff)
a
Diffstat (limited to 'src/chunk.cpp')
-rw-r--r--src/chunk.cpp2
1 files changed, 1 insertions, 1 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;