diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-05-26 18:34:33 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-05-26 21:30:56 +0200 |
commit | afdb73b18329d1e135340ac4a7aab952648fada8 (patch) | |
tree | 483972316bf46ac25bbbc180825acb8a3c68ba0b /src/chunk.cpp | |
parent | e679da407d43b581afaf0539acea1143c022b245 (diff) |
b
Diffstat (limited to 'src/chunk.cpp')
-rw-r--r-- | src/chunk.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/chunk.cpp b/src/chunk.cpp index e0330339..57a3e62a 100644 --- a/src/chunk.cpp +++ b/src/chunk.cpp @@ -168,6 +168,8 @@ void chunk::on_teardown() fm_assert(!_teardown); // too late, some chunks were already erased } +bool chunk::is_teardown() const { return _teardown || _world->is_teardown(); } + void chunk::remove_object(size_t i) { fm_assert(_objects_sorted); |