hedgewars/uGearsHandlersMess.pas
changeset 15267 4aa19b21707d
parent 15265 44533b2e4fb1
child 15274 000d3262244c
--- a/hedgewars/uGearsHandlersMess.pas	Mon Jul 15 23:26:00 2019 +0200
+++ b/hedgewars/uGearsHandlersMess.pas	Wed Jul 17 00:33:55 2019 +0200
@@ -3353,7 +3353,7 @@
     or (HHGear = nil)
     or ((HHGear^.State and gstMoving) = 0)
     or (HHGear^.Damage > 0)
-    or ((HHGear^.State and gstDrowning) = 1) then
+    or ((HHGear^.State and gstDrowning) <> 0) then
         begin
         DeleteGear(Gear);
         AfterAttack