hedgewars/uLand.pas
changeset 15165 59c595191eba
parent 15162 af14c418c92f
child 15179 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