rust/landgen/src/template_based.rs
branchtransitional_engine
changeset 15905 022ec6b916b7
parent 15828 44b49f255e31
child 15912 6e22f4390b7e
--- a/rust/landgen/src/template_based.rs	Wed Jan 04 10:42:21 2023 +0100
+++ b/rust/landgen/src/template_based.rs	Wed Jan 04 11:56:58 2023 +0100
@@ -21,7 +21,7 @@
         parameters: &LandGenerationParameters<T>,
         random_numbers: &mut I,
     ) -> Land2D<T> {
-        let mut land = Land2D::new(self.outline_template.size, parameters.basic);
+        let mut land = Land2D::new(&self.outline_template.size, parameters.basic);
 
         let mut points = OutlinePoints::from_outline_template(
             &self.outline_template,