hedgewars/uAIMisc.pas
changeset 14269 6f3f59266c4c
parent 14218 09dacb61d526
child 14512 184df3900ec4
child 14590 8736f3a0ff7f
--- a/hedgewars/uAIMisc.pas	Wed Nov 21 12:41:55 2018 -0500
+++ b/hedgewars/uAIMisc.pas	Wed Nov 21 15:26:54 2018 -0500
@@ -231,7 +231,8 @@
             , gtMelonPiece
             , gtMolotov: bonuses.activity:= true;
             gtCase:
-                AddBonus(hwRound(Gear^.X), hwRound(Gear^.Y) + 3, 37, 25);
+                if (Gear^.AIHints and aihDoesntMatter) = 0 then
+                    AddBonus(hwRound(Gear^.X), hwRound(Gear^.Y) + 3, 37, 25);
             gtFlame:
                 if (Gear^.State and gsttmpFlag) <> 0 then
                     AddBonus(hwRound(Gear^.X), hwRound(Gear^.Y), 20, -50);