Draw bombs behind plane
authornemo
Sun, 08 Jul 2012 11:43:22 -0400
changeset 7364 ee87ad50e18d
parent 7362 53bcfc714cb3
child 7366 e5a0856708dc
Draw bombs behind plane
hedgewars/uGearsList.pas
--- 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;