Changeset - r26465:28c30b959201
[Not reviewed]
master
0 1 0
Tyler Trahan - 20 months ago 2022-10-21 13:44:41
tyler@tylertrahan.com
Change: Don't make wide rivers using original landscape generator
1 file changed with 4 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/landscape.cpp
Show inline comments
 
@@ -1273,8 +1273,10 @@ static void River_FoundEndNode(AyStar *a
 
		}
 
	}
 

	
 
	/* 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;
0 comments (0 inline, 0 general)