hedgewars/GSHandlers.inc
changeset 5221 632c42555a01
parent 5218 bc31676ae108
child 5228 b018f6117fc1
--- a/hedgewars/GSHandlers.inc	Sat May 28 23:40:42 2011 +0200
+++ b/hedgewars/GSHandlers.inc	Sun May 29 20:28:27 2011 +0400
@@ -1006,8 +1006,8 @@
 begin
     PlaySound(sndGun);
     // add 2 initial steps to avoid problem with ammoshove related to calculation of radius + 1 radius as gear widths
-    Gear^.X := Gear^.X + _2*Gear^.dX;  
-    Gear^.Y := Gear^.Y + _2*Gear^.dY;
+    Gear^.X := Gear^.X + Gear^.dX * 2;
+    Gear^.Y := Gear^.Y + Gear^.dY * 2;
     Gear^.doStep := @doStepBulletWork
 end;