(svn r15895) -Fix (r15685): fixing the slopes was done a bit more often than intended making map generation with the original generator horribly slow
This commit is contained in:
		@@ -815,8 +815,6 @@ static void GenerateTerrain(int type, uint flag)
 | 
				
			|||||||
			} while (--w != 0);
 | 
								} while (--w != 0);
 | 
				
			||||||
			break;
 | 
								break;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					 | 
				
			||||||
	FixSlopes();
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -930,6 +928,7 @@ void GenerateLandscape(byte mode)
 | 
				
			|||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						FixSlopes();
 | 
				
			||||||
	ConvertGroundTilesIntoWaterTiles();
 | 
						ConvertGroundTilesIntoWaterTiles();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (_settings_game.game_creation.landscape == LT_TROPIC) CreateDesertOrRainForest();
 | 
						if (_settings_game.game_creation.landscape == LT_TROPIC) CreateDesertOrRainForest();
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user