diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-04-07 20:44:42 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-04-07 20:44:49 +0200 |
commit | 21eaaee936a47742f59eb6b5665422de2bd8e7ae (patch) | |
tree | aeb89f45aaee920eeb88dd14ce53b76eb818d047 /draw/anim.hpp | |
parent | 82ec1a07c79b1c96688464609d043d6ce23685b1 (diff) |
fix closed doors clipping through walls
Diffstat (limited to 'draw/anim.hpp')
-rw-r--r-- | draw/anim.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/draw/anim.hpp b/draw/anim.hpp index 96c1de7e..eaa191f5 100644 --- a/draw/anim.hpp +++ b/draw/anim.hpp @@ -28,7 +28,7 @@ struct anim_mesh final void draw(tile_shader& shader, const Vector2i& win_size, chunk& c, std::vector<clickable>& list); void draw(tile_shader& shader, anim_atlas& atlas, rotation r, size_t frame, const Vector3& pos, float depth); - void draw(tile_shader& shader, anim_atlas& atlas, rotation r, size_t frame, local_coords xy, Vector2b offset, float depth_offset); + void draw(tile_shader& shader, anim_atlas& atlas, rotation r, size_t frame, local_coords xy, Vector2b offset, float dpeth); static void add_clickable(tile_shader& shader, const Vector2i& win_size, entity* s_, const chunk::topo_sort_data& data, std::vector<clickable>& list); |