# HG changeset patch # User Wuzzy # Date 1560593352 -7200 # Node ID 59c595191eba165135da75499e8e0d08d2db22c5 # Parent 794dc7237ca120fb5cfd84e76826b7230a3002c2 Change max hedgehog estimate for drawn map sizes 1-3 diff -r 794dc7237ca1 -r 59c595191eba hedgewars/uLand.pas --- 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