hedgewars/uGearsList.pas
changeset 10663 9bbb29d2bd68
parent 10646 0be6442946b1
child 10789 acbf69e2e5cf
--- a/hedgewars/uGearsList.pas	Thu Dec 11 22:22:40 2014 +0100
+++ b/hedgewars/uGearsList.pas	Thu Dec 11 21:32:24 2014 -0500
@@ -664,7 +664,7 @@
         begin
         if ((CurrentHedgehog = nil) or (Gear <> CurrentHedgehog^.Gear)) or (CurAmmoGear = nil) or (CurAmmoGear^.Kind <> gtKamikaze) then
             Gear^.Hedgehog^.Team^.Clan^.Flawless:= false;
-        if not CheckCoordInWater(hwRound(Gear^.X), hwRound(Gear^.Y)) then
+        if CheckCoordInWater(hwRound(Gear^.X), hwRound(Gear^.Y)) then
             begin
             t:= max(Gear^.Damage, Gear^.Health);
             Gear^.Damage:= t;