# HG changeset patch # User sheepluva # Date 1416692121 -3600 # Node ID 5a65f09455c46be45944716c59aed173d20ab59c # Parent 5e837065977c9544194da176a8bcd02e5e1db365 display airplane altitude indicator also with drill strike and air attack - when more-wind is activated diff -r 5e837065977c -r 5a65f09455c4 hedgewars/uWorld.pas --- a/hedgewars/uWorld.pas Sat Nov 22 21:31:09 2014 +0100 +++ b/hedgewars/uWorld.pas Sat Nov 22 22:35:21 2014 +0100 @@ -1805,7 +1805,7 @@ with CurrentHedgehog^ do if (Gear <> nil) and ((Gear^.State and gstHHChooseTarget) <> 0) then begin - if (CurAmmoType = amNapalm) or (CurAmmoType = amMineStrike) then + if (CurAmmoType = amNapalm) or (CurAmmoType = amMineStrike) or (((GameFlags and gfMoreWind) <> 0) and ((CurAmmoType = amDrillStrike) or (CurAmmoType = amAirAttack))) then DrawLine(-3000, topY-300, 7000, topY-300, 3.0, (Team^.Clan^.Color shr 16), (Team^.Clan^.Color shr 8) and $FF, Team^.Clan^.Color and $FF, $FF); i:= GetCurAmmoEntry(CurrentHedgehog^)^.Pos; with Ammoz[CurAmmoType] do