If you just pick the wider of the dimensions then you get a more even spread vs random direction.
This commit is contained in:
parent
5f09747109
commit
f48f9d9bc5
2 changed files with 3 additions and 3 deletions
2
map.cpp
2
map.cpp
|
@ -226,6 +226,6 @@ void Map::generate() {
|
|||
.height = height()
|
||||
};
|
||||
|
||||
partition_map(gen, root, 5);
|
||||
partition_map(gen, root, 7);
|
||||
draw_map(this, root); // left
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue