Loading

Paste #pjmafahbk

  1. diff --git a/src/tgp.cpp b/src/tgp.cpp
  2. index 02621f127..6b6c9708f 100644
  3. --- a/src/tgp.cpp
  4. +++ b/src/tgp.cpp
  5. @@ -881,10 +881,10 @@ static void HeightMapNormalize()
  6.     HeightMapSmoothCoasts(water_borders);
  7.     HeightMapSmoothSlopes(roughness);
  8.  
  9. -   HeightMapSineTransform(I2H(1), h_max_new);
  10. -
  11.     if (_settings_game.game_creation.variety > 0) {
  12.         HeightMapCurves(_settings_game.game_creation.variety);
  13. +   } else {
  14. +       HeightMapSineTransform(I2H(1), h_max_new);
  15.     }
  16.  
  17.     HeightMapSmoothSlopes(I2H(1));

Comments