src/landscape.cpp
changeset 9354 845e07db4549
parent 9126 5648d696456b
child 9358 2e1e4d2f71dd
--- a/src/landscape.cpp	Sun May 25 17:36:49 2008 +0000
+++ b/src/landscape.cpp	Sun May 25 19:17:03 2008 +0000
@@ -821,7 +821,7 @@
 		SetGeneratingWorldProgress(GWP_LANDSCAPE, (_opt.landscape == LT_TROPIC) ? 1 + gwp_desert_amount : 1);
 		LoadHeightmap(_file_to_saveload.name);
 		IncreaseGeneratingWorldProgress(GWP_LANDSCAPE);
-	} else if (_patches.land_generator == LG_TERRAGENESIS) {
+	} else if (_settings.game_creation.land_generator == LG_TERRAGENESIS) {
 		SetGeneratingWorldProgress(GWP_LANDSCAPE, (_opt.landscape == LT_TROPIC) ? 3 + gwp_desert_amount : 3);
 		GenerateTerrainPerlin();
 	} else {