Fixed warnings

This commit is contained in:
Joshua Barretto 2019-08-30 20:44:47 +01:00
parent 7321eb6999
commit cc214982bf

View File

@ -602,7 +602,7 @@ impl Terrain {
focus_pos: Vec3<f32>,
) {
// Opaque
for (pos, chunk) in &self.chunks {
for (_, chunk) in &self.chunks {
if chunk.visible {
renderer.render_terrain_chunk(&chunk.opaque_model, globals, &chunk.locals, lights);
}