# HG changeset patch
# User nemo
# Date 1319395459 14400
# Node ID 7c34bf4fbb5485e5ccd0f40e5611950ce978969f
# Parent  190a8e5d9956f1981a72930c7ba3b5305ab3cd97
oops

diff -r 190a8e5d9956 -r 7c34bf4fbb54 hedgewars/uGears.pas
--- a/hedgewars/uGears.pas	Sun Oct 23 11:37:52 2011 +0400
+++ b/hedgewars/uGears.pas	Sun Oct 23 14:44:19 2011 -0400
@@ -300,10 +300,10 @@
                         dx.isNegative:= GetRandom(2) = 0;
                         dx.QWordValue:= GetRandom(100000000);
                         dy.isNegative:= false;
-                        dy.QWordValue:= GetRandom(70000000)
+                        dy.QWordValue:= GetRandom(70000000);
+                        if GetRandom(2) = 0 then dx := -dx
                         end;
                     State:= State or gstInvisible;
-                    if GetRandom(2) = 0 then dx := -dx;
                     Health:= random(vobFrameTicks);
                     Timer:= random(vobFramesCount);
                     Angle:= (random(2) * 2 - 1) * (1 + random(10000)) * vobVelocity