diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-26 21:05:46 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-26 21:07:46 +0200 |
commit | 978a605ada755b0a02f8e8ea768c3af7e40b4cd7 (patch) | |
tree | 6a06534f848a1bd62b10a1c23d5e34bce99da953 /src/world.hpp | |
parent | 15874e375334a2e5e4cd44f438ca180d22deb02a (diff) |
allow forced collecting empty tiles
Diffstat (limited to 'src/world.hpp')
-rw-r--r-- | src/world.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/world.hpp b/src/world.hpp index 1b05a824..cbdec4f5 100644 --- a/src/world.hpp +++ b/src/world.hpp @@ -36,7 +36,7 @@ public: std::tuple<chunk&, tile&> operator[](global_coords pt) noexcept; bool contains(chunk_coords c) const noexcept; void clear(); - void collect(); + void collect(bool force = false); [[deprecated]] const auto& chunks() const noexcept { return _chunks; } // only for serialization |