summaryrefslogtreecommitdiffhomepage
path: root/src/chunk-render.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-15 15:43:59 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-15 15:43:59 +0100
commit23eae734c5e8a49c02e48fe0b401d610abfee9c8 (patch)
tree02311af36b8c2a10f8b69543b7b38e498bd42bd8 /src/chunk-render.cpp
parent2e0c0009806860e4e8ac24663afdc5d926d1213f (diff)
a
Diffstat (limited to 'src/chunk-render.cpp')
-rw-r--r--src/chunk-render.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chunk-render.cpp b/src/chunk-render.cpp
index 28a8d7bc..823e72ab 100644
--- a/src/chunk-render.cpp
+++ b/src/chunk-render.cpp
@@ -112,7 +112,7 @@ auto chunk::ensure_scenery_mesh() noexcept -> scenery_mesh_tuple
const auto count = fm_begin(
std::size_t ret = 0;
for (const auto& e : _entities)
- ret += e->atlas->info().fps == 0;
+ ret += !e->is_dynamic();
return ret;
);