summaryrefslogtreecommitdiffhomepage
path: root/draw/wall.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-08 02:33:38 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-08 02:33:38 +0100
commit69324ea83c8c4e73e5e201e0ca53114484a49791 (patch)
tree85f77a6408cb06a405f48beedd229319f376755a /draw/wall.cpp
parent8df4de4557ea49ff39462505a0662aacca447bf3 (diff)
a
Diffstat (limited to 'draw/wall.cpp')
-rw-r--r--draw/wall.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/draw/wall.cpp b/draw/wall.cpp
index 353925f6..9bcfe9d4 100644
--- a/draw/wall.cpp
+++ b/draw/wall.cpp
@@ -79,7 +79,7 @@ void wall_mesh::draw(tile_shader& shader, chunk& c)
f = 0;
frame.frame = (scenery::frame_t)std::min(f, a.atlas->info().nframes - 1);
#endif
- _anim_mesh.draw(shader, *a.atlas, a.atlas->frame(a.frame.r, frame.frame), local_coords{idx});
+ _anim_mesh.draw(shader, *a.atlas, a.frame.r, frame.frame, local_coords{idx});
}
}
}