branch merge
authornemo
Mon, 14 Jan 2019 12:35:32 -0500
changeset 14591 e54e41554529
parent 14589 ab79cd4a7382 (current diff)
parent 14590 8736f3a0ff7f (diff)
child 14592 164ec37e9e4b
branch merge
hedgewars/uAI.pas
hedgewars/uAIAmmoTests.pas
hedgewars/uAIMisc.pas
--- a/hedgewars/uAIMisc.pas	Mon Jan 14 00:34:56 2019 +0100
+++ b/hedgewars/uAIMisc.pas	Mon Jan 14 12:35:32 2019 -0500
@@ -247,6 +247,7 @@
                 else if (Gear^.State and gstAttacking) <> 0 then
                     AddBonus(hwRound(Gear^.X), hwRound(Gear^.Y), 100, -50); // mine is on
                 end;
+            gtAirMine: if ((Gear^.State and gstFrozen) = 0) then AddBonus(hwRound(Gear^.X), hwRound(Gear^.Y), gear^.Angle+5, -30);
 
             gtExplosives:
                 begin