diff options
Diffstat (limited to 'src/chunk.cpp')
-rw-r--r-- | src/chunk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chunk.cpp b/src/chunk.cpp index 2222b40a..17fe1b49 100644 --- a/src/chunk.cpp +++ b/src/chunk.cpp @@ -28,7 +28,7 @@ bool chunk::empty(bool force) const noexcept for (auto i = 0uz; i < TILE_COUNT; i++) if (!_objects.empty() || _ground && _ground->_ground_atlases[i] || - _walls && _walls->atlases[i]) + _walls && (_walls->atlases[i*2+0] || _walls->atlases[i*2+1])) return _maybe_empty = false; if (!_objects.empty()) return false; |