From c6c3c887e99c57fb567252053190ce4a24f65455 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 15 Mar 2023 14:31:15 +0100 Subject: b --- src/chunk-render.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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); -- cgit v1.2.3