hedgewars/uLand.pas
changeset 15149 59c595191eba
parent 15146 af14c418c92f
child 15163 4744d7b78c75
--- a/hedgewars/uLand.pas	Sat Jun 15 12:02:22 2019 +0200
+++ b/hedgewars/uLand.pas	Sat Jun 15 12:09:12 2019 +0200
@@ -285,7 +285,10 @@
 
 procedure GenDrawnMap;
 begin
-    if (cFeatureSize <= 6) then
+    if (cFeatureSize <= 3) then
+        // sizes 1-3 are identical
+        MaxHedgehogs:= 8
+    else if (cFeatureSize <= 6) then
         MaxHedgehogs:= 6 + (cFeatureSize-1) * 2
     else if (cFeatureSize < 11) then
         MaxHedgehogs:= 16 + (cFeatureSize-6) * 4