summaryrefslogtreecommitdiffhomepage
path: root/src/chunk.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-02-24 18:42:08 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-02-24 18:58:01 +0100
commitc7e5a3aff764c812789d56c43d22c7a2d7a3a690 (patch)
treed96d6efdfdedd580201190826ee822cf79fa951d /src/chunk.cpp
parent93b8da30a66fbb35630712da83e9e67080f42aab (diff)
fix chunk region modified on passability modified
Diffstat (limited to 'src/chunk.cpp')
-rw-r--r--src/chunk.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/chunk.cpp b/src/chunk.cpp
index 1a727599..0c02495e 100644
--- a/src/chunk.cpp
+++ b/src/chunk.cpp
@@ -126,6 +126,7 @@ void chunk::mark_passability_modified() noexcept
if (!_pass_modified && is_log_verbose()) [[unlikely]]
fm_debug("pass reload %zu", ++_reload_no_);
_pass_modified = true;
+ _region_modified = true;
}
bool chunk::is_passability_modified() const noexcept { return _pass_modified; }