merge
authorunc0rr
Sun, 07 Nov 2010 19:49:39 +0300
changeset 4175 b970559af8fb
parent 4172 03fe080d99d6 (diff)
parent 4174 acaa5e7fd286 (current diff)
child 4176 4e3942f5827c
merge
--- a/hedgewars/VGSHandlers.inc	Sun Nov 07 17:48:34 2010 +0100
+++ b/hedgewars/VGSHandlers.inc	Sun Nov 07 19:49:39 2010 +0300
@@ -211,8 +211,8 @@
     Gear^.Y:= Gear^.Y + Gear^.dY * Steps;
     Gear^.Y:= Gear^.Y - cDrownSpeedf * Steps;
 
-    Gear^.dX /= (1.001 * Steps);
-    Gear^.dY /= (1.001 * Steps);
+    Gear^.dX := Gear^.dX / (1.001 * Steps);
+    Gear^.dY := Gear^.dY / (1.001 * Steps);
 
     if (Gear^.FrameTicks <= Steps) or (round(Gear^.Y) < cWaterLine) then
         DeleteVisualGear(Gear)