hedgewars/uGearsUtils.pas
changeset 13627 605767bbd022
parent 13617 a6abc2c1fc1a
child 13629 c9a49d06f1a2
--- a/hedgewars/uGearsUtils.pas	Tue Aug 07 03:24:54 2018 +0200
+++ b/hedgewars/uGearsUtils.pas	Tue Aug 07 10:29:01 2018 +0200
@@ -1536,7 +1536,7 @@
 begin
 if (PlacingHogs) or
     (cCaseFactor = 0)
-    or (CountGears(gtCase) >= 5)
+    or (CountGears(gtCase) >= cMaxCaseDrops)
     or (GetRandom(cCaseFactor) <> 0) then
        exit;