hedgewars/uAmmos.pas
changeset 15369 114b036522a6
parent 15251 4aa19b21707d
child 15447 6031c0cfec89
--- a/hedgewars/uAmmos.pas	Mon Aug 26 15:44:03 2019 -0600
+++ b/hedgewars/uAmmos.pas	Tue Aug 27 06:05:03 2019 +0200
@@ -202,7 +202,7 @@
             if Hedgehogs[i].Gear <> nil then
                 begin
                 Hedgehogs[i].Ammo:= GetAmmoByNum(Hedgehogs[i].AmmoStore);
-                if (GameFlags and gfPlaceHog) <> 0 then
+                if ((GameFlags and gfPlaceHog) <> 0) or (((GameFlags and gfKing) <> 0) and (Hedgehogs[i].King = true)) then
                     Hedgehogs[i].CurAmmoType:= amTeleport
                 else
                     Hedgehogs[i].CurAmmoType:= amNothing