author | alfadur |
Sat, 03 Nov 2018 02:16:13 +0300 | |
changeset 14105 | 7e25f4800af8 |
parent 14104 | e2b6ff0421ec |
child 14106 | 5c1ce63114a5 |
--- a/rust/landgen/src/outline.rs Sat Nov 03 00:07:25 2018 +0100 +++ b/rust/landgen/src/outline.rs Sat Nov 03 02:16:13 2018 +0300 @@ -111,7 +111,7 @@ ); let mid_point = segment.center(); - if (p.integral_norm() < min_distance as u32 * 3) || !map_box.contains_inside(mp) { + if (p.integral_norm() < min_distance as u32 * 3) || !map_box.contains_inside(mid_point) { return None; }