From 16889b2b3e77a38cfd6bdef515db7ee23f0b35b4 Mon Sep 17 00:00:00 2001 From: Joshua Barretto Date: Tue, 19 Oct 2021 09:22:56 +0100 Subject: [PATCH] Fixed house supports --- world/src/site2/plot/house.rs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/world/src/site2/plot/house.rs b/world/src/site2/plot/house.rs index eece511a92..1cde7b82bd 100644 --- a/world/src/site2/plot/house.rs +++ b/world/src/site2/plot/house.rs @@ -625,12 +625,12 @@ impl Structure for House { ) .with_z(alt + previous_height - 3), end: Vec2::new( - temp.x + 1, - self.bounds.max.y + storey_increase - self.overhang + 3, + temp.x, + self.bounds.max.y + storey_increase - self.overhang + 2, ) .with_z(alt + previous_height), }, - 1.0, + 0.75, )), //2 => { // painter.prim(Primitive::Segment(LineSegment3 { @@ -675,12 +675,12 @@ impl Structure for House { ) .with_z(alt + previous_height - 3), end: Vec2::new( - self.bounds.max.x + storey_increase - self.overhang + 3, - temp.y + 1, + self.bounds.max.x + storey_increase - self.overhang + 2, + temp.y, ) .with_z(alt + previous_height), }, - 1.0, + 0.75, )), 2 => painter.prim(Primitive::Empty), _ => painter.prim(Primitive::Segment( @@ -691,12 +691,12 @@ impl Structure for House { ) .with_z(alt + previous_height - 3), end: Vec2::new( - self.bounds.min.x - storey_increase + self.overhang - 3, - temp.y + 1, + self.bounds.min.x - storey_increase + self.overhang - 2, + temp.y, ) .with_z(alt + previous_height), }, - 1.0, + 0.75, )), }; if temp.y <= self.bounds.max.y && temp.y >= self.bounds.min.y {