hedgewars/uAmmos.pas
changeset 2766 aa3120a9e22c
parent 2764 2613de505d8d
child 2767 77c030ac978e
--- 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