Adjusted weather. Hopefully fixed trees for real this time, so far so good.
This commit is contained in:
@@ -104,15 +104,8 @@ void expand_regular_area() {
|
||||
|
||||
notify("A " + width_desc + " stream flows through the new area at x " + actual_start + ".");
|
||||
} else {
|
||||
// Try to place a tree with proper spacing
|
||||
for (int attempt = 0; attempt < 20; attempt++) {
|
||||
int tree_pos = random(new_start, new_end);
|
||||
if (!tree_too_close(tree_pos)) {
|
||||
Tree@ t = Tree(tree_pos);
|
||||
trees.insert_last(t);
|
||||
break;
|
||||
}
|
||||
}
|
||||
// Try to place a tree with proper spacing and per-area limits
|
||||
spawn_tree_in_area(new_start, new_end);
|
||||
}
|
||||
|
||||
area_expanded_today = true;
|
||||
|
||||
Reference in New Issue
Block a user