hedgewars/uGearsHandlersMess.pas
changeset 10356 7d1044267b83
parent 10354 56bd029245fc
child 10359 744f1151c707
--- a/hedgewars/uGearsHandlersMess.pas	Sat Jul 05 20:27:42 2014 +0200
+++ b/hedgewars/uGearsHandlersMess.pas	Sat Jul 05 21:22:42 2014 +0200
@@ -282,10 +282,6 @@
     else
         Gear^.X := Gear^.X + Gear^.dX * cDrownSpeed;
 
-    if cWaterLine < hwRound(Gear^.Y) + Gear^.Radius then
-    else
-        Gear^.Y := Gear^.Y + Gear^.dY * cDrownSpeed;
-
     // Create some bubbles (0.5% might be better but causes too few bubbles sometimes)
     if ((not SuddenDeathDmg and (WaterOpacity < $FF))
     or (SuddenDeathDmg and (SDWaterOpacity < $FF))) and ((GameTicks and $1F) = 0) then