summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-13 07:59:55 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-13 07:59:55 +0100
commitfdff8f8c393afac807c5372da7f9365d8080f4cf (patch)
treeffce5c2068fda40864dec3e275901d0533554dbf /src
parent2034aa13a3afdde8f59e5c4646e3c99c24e6720b (diff)
a
Diffstat (limited to 'src')
-rw-r--r--src/chunk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chunk.cpp b/src/chunk.cpp
index 353446f3..71378439 100644
--- a/src/chunk.cpp
+++ b/src/chunk.cpp
@@ -14,7 +14,7 @@ bool chunk::empty(bool force) const noexcept
for (std::size_t i = 0; i < TILE_COUNT; i++)
{
- if (_ground_atlases[i] || _wall_atlases[i*2 + 0] || _wall_atlases[i*2 + 1])
+ if (_ground_atlases[i] || _wall_atlases[i*2 + 0] || _wall_atlases[i*2 + 1] || _scenery_atlases[i])
{
_maybe_empty = false;
return false;