hedgewars/uStore.pas
branch0.9.24
changeset 13551 7259891805f9
parent 13343 93325e13d329
child 13568 470982c05f7e
--- a/hedgewars/uStore.pas	Tue Jul 24 20:07:58 2018 +0200
+++ b/hedgewars/uStore.pas	Tue Jul 24 20:15:32 2018 +0200
@@ -1016,7 +1016,7 @@
         extra:= trmsg[sidNotYetAvailable];
     extracolor:= LongInt($ffc77070);
     end
-else if (((GameFlags and gfInfAttack) <> 0) and ((Ammoz[atype].Ammo.Propz and ammoprop_ForceTurnEnd) = 0)) or ((Ammoz[atype].Ammo.Propz and ammoprop_NoRoundEnd) <> 0) then
+else if ((((GameFlags and gfInfAttack) <> 0) and ((Ammoz[atype].Ammo.Propz and ammoprop_ForceTurnEnd) = 0)) or ((Ammoz[atype].Ammo.Propz and ammoprop_NoRoundEnd) <> 0)) and (not (PlacingHogs and (atype = amTeleport))) then
     // weapon or utility will not end your turn
     begin
     extra:= trmsg[sidNoEndTurn];