diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-15 14:31:15 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-15 14:31:15 +0100 |
commit | c6c3c887e99c57fb567252053190ce4a24f65455 (patch) | |
tree | fbf3ddfcd17e6d42f49ba425fabaf6eb1bc2e9eb /src | |
parent | 86488931114a5ef94bed0a3c82092c9dc6c2fc32 (diff) |
b
Diffstat (limited to 'src')
-rw-r--r-- | src/chunk-render.cpp | 3 |
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); |