summaryrefslogtreecommitdiffhomepage
path: root/draw/wall.cpp
diff options
context:
space:
mode:
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});
}
}
}