diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-18 17:48:34 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-18 17:48:34 +0100 |
commit | b426d61f903fa4dd635fb525eb4c28ca1c1d1929 (patch) | |
tree | b941499890be0698f3138866c94677a86fcd59e6 /src/world.cpp | |
parent | a418f0571231a429b8e0adfea7e09c2f81856a57 (diff) |
src: fix scenery mesh modified marking
Diffstat (limited to 'src/world.cpp')
-rw-r--r-- | src/world.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/world.cpp b/src/world.cpp index f519a91f..d6099302 100644 --- a/src/world.cpp +++ b/src/world.cpp @@ -39,7 +39,8 @@ world::~world() noexcept for (auto& [k, v] : _chunks) { v._teardown = true; - v.mark_scenery_modified(true); + v.mark_scenery_modified(); + v.mark_passability_modified(); _last_chunk = {}; v._entities.clear(); } |