diff --git a/lib/mapping/ObstacleProxy.cpp b/lib/mapping/ObstacleProxy.cpp index f45f13383..91fe5735b 100644 --- a/lib/mapping/ObstacleProxy.cpp +++ b/lib/mapping/ObstacleProxy.cpp @@ -59,7 +59,7 @@ bool ObstacleProxy::prepareBiome(const ObstacleSetFilter & filter, CRandomGenera std::vector> obstacleSets; size_t selectedSets = 0; - const size_t MINIMUM_SETS = 6; + const size_t MINIMUM_SETS = 4; // Original Lava has only 4 types of sets const size_t MAXIMUM_SETS = 9; const size_t MIN_SMALL_SETS = 3; const size_t MAX_SMALL_SETS = 5; @@ -182,7 +182,7 @@ bool ObstacleProxy::prepareBiome(const ObstacleSetFilter & filter, CRandomGenera // Copy this set to our possible obstacles - if (selectedSets >= 4 || // Original Lava has only 4 types of sets + if (selectedSets >= MINIMUM_SETS || (terrain == TerrainId::WATER && selectedSets > 0)) { obstaclesBySize.clear();