mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-06-24 22:19:50 +01:00
Change: Don't make wide rivers using original landscape generator
This commit is contained in:
parent
a394be2780
commit
4daad7f348
@ -1273,8 +1273,10 @@ static void River_FoundEndNode(AyStar *aystar, OpenListNode *current)
|
||||
}
|
||||
}
|
||||
|
||||
/* If the river is a main river, go back along the path to widen it. */
|
||||
if (data->main_river) {
|
||||
/* If the river is a main river, go back along the path to widen it.
|
||||
* Don't make wide rivers if we're using the original landscape generator.
|
||||
*/
|
||||
if (_settings_game.game_creation.land_generator != LG_ORIGINAL && data->main_river) {
|
||||
const uint long_river_length = _settings_game.game_creation.min_river_length * 4;
|
||||
uint current_river_length;
|
||||
uint radius;
|
||||
|
Loading…
Reference in New Issue
Block a user