hedgewars/uGearsList.pas
changeset 7364 ee87ad50e18d
parent 7337 c224cd2d32f3
child 7366 e5a0856708dc
--- a/hedgewars/uGearsList.pas	Sun Jul 08 18:59:25 2012 +0400
+++ b/hedgewars/uGearsList.pas	Sun Jul 08 11:43:22 2012 -0400
@@ -105,7 +105,7 @@
 
 if CurrentHedgehog <> nil then gear^.Hedgehog:= CurrentHedgehog;
 
-if Ammoz[Gear^.AmmoType].Ammo.Propz and ammoprop_NeedTarget <> 0 then
+if (Ammoz[Gear^.AmmoType].Ammo.Propz and ammoprop_NeedTarget <> 0) then
     gear^.Z:= cHHZ+1
 else gear^.Z:= cUsualZ;
 
@@ -295,6 +295,7 @@
                 gear^.Radius:= 15;
                 gear^.Tag:= Y
                 end;
+   gtAirAttack: gear^.Z:= cHHZ+2;
      gtAirBomb: begin
                 gear^.Radius:= 5;
                 gear^.Density:= _2;