hedgewars/uGearsUtils.pas
changeset 15220 ceb289e8a582
parent 15195 7d41e7889123
child 15223 32678e65b25e
--- a/hedgewars/uGearsUtils.pas	Mon Jul 08 15:16:05 2019 +0300
+++ b/hedgewars/uGearsUtils.pas	Mon Jul 08 21:44:26 2019 +0200
@@ -1603,7 +1603,7 @@
     i: TAmmoType;
 begin
 SpawnBoxOfSmth:= nil;
-if (PlacingHogs) or
+if (PlacingHogs) or (PlacingKings) or
     (cCaseFactor = 0)
     or (CountGears(gtCase) >= cMaxCaseDrops)
     or (GetRandom(cCaseFactor) <> 0) then