hedgewars/uGearsHedgehog.pas
changeset 14399 352ea82355ae
parent 14367 40dd8eb60d54
child 14566 85921db6f7c3
--- a/hedgewars/uGearsHedgehog.pas	Mon Dec 10 02:30:14 2018 +0100
+++ b/hedgewars/uGearsHedgehog.pas	Mon Dec 10 02:40:27 2018 +0100
@@ -1307,7 +1307,7 @@
 else if not isInMultiShoot then
     AllInactive:= false;
 
-if (TurnTimeLeft = 0) or (HHGear^.Damage > 0) or (LuaEndTurnRequested = true) then
+if (TurnTimeLeft = 0) or (HHGear^.Damage > 0) or (((GameFlags and gfKing) <> 0) and (not Hedgehog^.Team^.hasKing)) or (LuaEndTurnRequested = true) then
     begin
     if (Hedgehog^.CurAmmoType = amKnife) then
        LoadHedgehogHat(Hedgehog^, Hedgehog^.Hat);