summaryrefslogtreecommitdiffhomepage
path: root/src/chunk-scenery.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/chunk-scenery.cpp')
-rw-r--r--src/chunk-scenery.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chunk-scenery.cpp b/src/chunk-scenery.cpp
index 50840453..c5b77241 100644
--- a/src/chunk-scenery.cpp
+++ b/src/chunk-scenery.cpp
@@ -140,12 +140,12 @@ auto chunk::ensure_scenery_mesh(scenery_scratch_buffers buffers) noexcept -> sce
{
_scenery_modified = false;
- const auto count = fm_begin(
+ const auto count = [&] {
size_t ret = 0;
for (const auto& e : _objects)
ret += !e->is_dynamic();
return ret;
- );
+ }();
auto& scenery_vertexes = buffers.scenery_vertexes;
auto& scenery_indexes = buffers.scenery_indexes;