diff -r 64b0a5cead86 -r 44b49f255e31 rust/mapgen/src/lib.rs --- a/rust/mapgen/src/lib.rs Tue Jan 25 23:46:11 2022 +0300 +++ b/rust/mapgen/src/lib.rs Thu Jan 27 03:51:13 2022 +0300 @@ -121,7 +121,7 @@ where LandT: Copy + Default + PartialEq, { - let mut texture = Vec2D::new(land.size(), 0); + let mut texture = Vec2D::new(land.size().size(), 0); if let Some(land_sprite) = theme.land_texture() { for (row_index, (land_row, tex_row)) in land.rows().zip(texture.rows_mut()).enumerate()