summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-15 14:31:15 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-15 14:31:15 +0100
commitc6c3c887e99c57fb567252053190ce4a24f65455 (patch)
treefbf3ddfcd17e6d42f49ba425fabaf6eb1bc2e9eb /src
parent86488931114a5ef94bed0a3c82092c9dc6c2fc32 (diff)
b
Diffstat (limited to 'src')
-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);