Whoops, that was backwards

This commit is contained in:
Alex Bethel 2021-12-19 11:33:07 -06:00
parent 4eded9446b
commit 1c22a1be05

View file

@ -72,10 +72,10 @@ impl RoomBounds {
} }
} }
!range_overlapping( range_overlapping(
self.ul_corner.0..self.ul_corner.0 + self.size.0, self.ul_corner.0..self.ul_corner.0 + self.size.0,
other.ul_corner.0..other.ul_corner.0 + other.size.0, other.ul_corner.0..other.ul_corner.0 + other.size.0,
) && !range_overlapping( ) && range_overlapping(
self.ul_corner.1..self.ul_corner.1 + self.size.1, self.ul_corner.1..self.ul_corner.1 + self.size.1,
other.ul_corner.1..other.ul_corner.1 + other.size.1, other.ul_corner.1..other.ul_corner.1 + other.size.1,
) )