summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/chunk-render.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/chunk-render.cpp b/src/chunk-render.cpp
index e370239f..28a8d7bc 100644
--- a/src/chunk-render.cpp
+++ b/src/chunk-render.cpp
@@ -123,6 +123,9 @@ auto chunk::ensure_scenery_mesh() noexcept -> scenery_mesh_tuple
for (const auto& e : _entities)
{
+ if (e->atlas->info().fps > 0)
+ continue;
+
const auto i = scenery_indexes.size();
scenery_indexes.emplace_back();
scenery_indexes.back() = tile_atlas::indices(i);