add for mine strike too. as cheezemonkey points out, mine bounce is height dependent.
authornemo
Wed, 24 Aug 2011 13:33:53 -0400
changeset 5675 cd10d6cba644
parent 5674 244cbc1448bd
child 5676 a655dfab27d7
add for mine strike too. as cheezemonkey points out, mine bounce is height dependent.
hedgewars/uWorld.pas
--- a/hedgewars/uWorld.pas	Tue Aug 23 16:37:57 2011 -0400
+++ b/hedgewars/uWorld.pas	Wed Aug 24 13:33:53 2011 -0400
@@ -1159,7 +1159,7 @@
      with CurrentHedgehog^ do
        if (Gear <> nil) and ((Gear^.State and gstHHChooseTarget) <> 0) then
          begin
-         if CurAmmoType = amNapalm then
+         if (CurAmmoType = amNapalm) or (CurAmmoType = amMineStrike) 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:= GetAmmoEntry(CurrentHedgehog^)^.Pos;
          with Ammoz[CurAmmoType] do