diff options
Diffstat (limited to 'main')
| -rw-r--r-- | main/clickable.hpp | 1 | ||||
| -rw-r--r-- | main/draw.cpp | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/main/clickable.hpp b/main/clickable.hpp index efc1a7fa..3eee243f 100644 --- a/main/clickable.hpp +++ b/main/clickable.hpp @@ -15,6 +15,7 @@ struct clickable final { float depth = 0; chunk_coords chunk; local_coords pos; + bool mirrored = false; }; } // namespace floormat diff --git a/main/draw.cpp b/main/draw.cpp index aa1b6f2e..0b797449 100644 --- a/main/draw.cpp +++ b/main/draw.cpp @@ -122,7 +122,8 @@ void main_impl::draw_anim() noexcept clickable<anim_atlas, scenery> item = { *atlas, s, { f.offset, f.offset + f.size }, { offset, offset + f.size }, - atlas->bitmask(), tile_shader::depth_value(xy, 0.25f), pos, xy + atlas->bitmask(), tile_shader::depth_value(xy, 0.25f), pos, xy, + !g.mirror_from.isEmpty(), }; _clickable_scenery.push_back(item); } |
