diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-18 01:45:19 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-19 14:32:18 +0100 |
commit | 151e6911a8aa56749edbbf0c15ab04752d96c2f3 (patch) | |
tree | 06fcf3d6551d1945b5717458aa09222c947ede04 /shaders/lightmap.cpp | |
parent | e77dc91b5d3e6a5181776a81cee2c3164c7b3cc9 (diff) |
ccc
Diffstat (limited to 'shaders/lightmap.cpp')
-rw-r--r-- | shaders/lightmap.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shaders/lightmap.cpp b/shaders/lightmap.cpp index 14bb27e2..bca81c6a 100644 --- a/shaders/lightmap.cpp +++ b/shaders/lightmap.cpp @@ -397,9 +397,9 @@ void lightmap_shader::add_geometry(Vector2 neighbor_offset, chunk& c) void lightmap_shader::add_objects(Vector2 neighbor_offset, chunk& c) { - for (const auto& e_ : c.objects()) + for (const auto& eʹ : c.objects()) { - const auto& e = *e_; + const auto& e = *eʹ; if (e.is_virtual()) continue; if (e.pass == pass_mode::pass || e.pass == pass_mode::see_through) |