hedgewars/uGearsUtils.pas
changeset 10512 25021aac078e
parent 10508 1a91c1fcba0d
child 10526 b43d175d1577
--- a/hedgewars/uGearsUtils.pas	Tue Nov 18 00:32:39 2014 +0300
+++ b/hedgewars/uGearsUtils.pas	Mon Nov 17 23:23:10 2014 +0100
@@ -556,7 +556,7 @@
 
         // skipping
 
-        if (hwSqr(Gear^.dX) + hwSqr(Gear^.dY) > skipSpeed)
+        if (not isSubmersible) and (hwSqr(Gear^.dX) + hwSqr(Gear^.dY) > skipSpeed)
         and ( ((not isDirH) and (hwAbs(Gear^.dX) > skipAngle * hwAbs(Gear^.dY)))
           or (isDirH and (hwAbs(Gear^.dY) > skipAngle * hwAbs(Gear^.dX))) ) then
             begin