hedgewars/uGearsHandlersMess.pas
changeset 15474 1e3761ecfc13
parent 15473 b56c04fac6f9
child 15478 20066da10268
--- a/hedgewars/uGearsHandlersMess.pas	Fri Oct 11 18:59:48 2019 +0200
+++ b/hedgewars/uGearsHandlersMess.pas	Fri Oct 11 19:10:14 2019 +0200
@@ -2348,7 +2348,7 @@
     doStepFallingGear(Gear);
     AllInactive := false;
 
-    if (Gear^.State and gstDrowning) = 0 then
+    if (Gear^.State and gstDrowning) <> 0 then
         exit;
     if Gear^.Timer mod 166 = 0 then
         inc(Gear^.Tag);