diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-24 22:55:06 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-24 22:55:06 +0200 |
| commit | 9076ef2ee672877bbf339d5ca8db182445f127f7 (patch) | |
| tree | b1c2c8a379e864867f8ad3878fc81d9f06fa1bda /src/chunk.cpp | |
| parent | 27a04888cfeca3d3db127744dde60b67fe497b94 (diff) | |
a
Diffstat (limited to 'src/chunk.cpp')
| -rw-r--r-- | src/chunk.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chunk.cpp b/src/chunk.cpp index d8c2d011..92817765 100644 --- a/src/chunk.cpp +++ b/src/chunk.cpp @@ -2,9 +2,9 @@ namespace floormat { -bool chunk::empty() const +bool chunk::empty(bool force) const noexcept { - if (!_maybe_empty) + if (!force && !_maybe_empty) return false; for (const tile& x : _tiles) |
