redundant
authornemo
Mon, 08 Feb 2010 12:49:41 +0000
changeset 2766 aa3120a9e22c
parent 2765 8a5685581aeb
child 2767 77c030ac978e
redundant
hedgewars/uAmmos.pas
--- a/hedgewars/uAmmos.pas	Mon Feb 08 12:49:21 2010 +0000
+++ b/hedgewars/uAmmos.pas	Mon Feb 08 12:49:41 2010 +0000
@@ -75,8 +75,7 @@
        Ammo^[Ammoz[a].Slot, mi[Ammoz[a].Slot]].Count:= 0;
        Ammo^[Ammoz[a].Slot, mi[Ammoz[a].Slot]].InitialCount:= 0;
 
-       if ((GameFlags and gfPlaceHog) <> 0) and (a = amTeleport) then 
-           Ammo^[Ammoz[a].Slot, mi[Ammoz[a].Slot]].Count:= AMMO_INFINITE;
+       Ammo^[Ammoz[a].Slot, mi[Ammoz[a].Slot]].Count:= AMMO_INFINITE;
        inc(mi[Ammoz[a].Slot])
        end
     end