Fixed cliff generation layer bug

This commit is contained in:
Joshua Barretto 2019-09-26 12:19:21 +01:00
parent 59e6febb41
commit b1d4ae7445

View File

@ -445,7 +445,7 @@ impl<'a> ZCache<'a> {
}
});
let ground_max = (self.sample.alt + 4.0 + warp + rocks).max(cliff);
let ground_max = (self.sample.alt + warp + rocks).max(cliff) + 2.0;
let min = min + structure_min;
let max = (ground_max + structure_max)