summaryrefslogtreecommitdiffhomepage
path: root/src/world.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-18 17:48:34 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-18 17:48:34 +0100
commitb426d61f903fa4dd635fb525eb4c28ca1c1d1929 (patch)
treeb941499890be0698f3138866c94677a86fcd59e6 /src/world.cpp
parenta418f0571231a429b8e0adfea7e09c2f81856a57 (diff)
src: fix scenery mesh modified marking
Diffstat (limited to 'src/world.cpp')
-rw-r--r--src/world.cpp3
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();
}