diff --git a/src/tgp.cpp b/src/tgp.cpp
index 02621f127..6b6c9708f 100644
--- a/src/tgp.cpp
+++ b/src/tgp.cpp
@@ -881,10 +881,10 @@ static void HeightMapNormalize()
HeightMapSmoothCoasts(water_borders);
HeightMapSmoothSlopes(roughness);
- HeightMapSineTransform(I2H(1), h_max_new);
-
if (_settings_game.game_creation.variety > 0) {
HeightMapCurves(_settings_game.game_creation.variety);
+ } else {
+ HeightMapSineTransform(I2H(1), h_max_new);
}
HeightMapSmoothSlopes(I2H(1));