Check for dX too
authornemo
Mon, 15 Aug 2011 16:57:36 -0400
changeset 5581 cc43f382ed9a
parent 5580 46b6de65d313
child 5582 48ced03a9949
Check for dX too
hedgewars/VGSHandlers.inc
--- a/hedgewars/VGSHandlers.inc	Mon Aug 15 16:50:09 2011 -0400
+++ b/hedgewars/VGSHandlers.inc	Mon Aug 15 16:57:36 2011 -0400
@@ -498,6 +498,7 @@
     begin
     dec(Gear^.Timer, Steps);
     Gear^.Y:= Gear^.Y + Gear^.dY * Steps;
+    Gear^.X:= Gear^.X + Gear^.dX * Steps
     end;
 end;