summaryrefslogtreecommitdiffhomepage
path: root/src/chunk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/chunk.cpp')
-rw-r--r--src/chunk.cpp4
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)