From 9076ef2ee672877bbf339d5ca8db182445f127f7 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 24 Oct 2022 22:55:06 +0200 Subject: a --- src/chunk.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/chunk.cpp') 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) -- cgit v1.2.3