hedgewars/GSHandlers.inc
changeset 4277 d699d23a6e1d
parent 4275 24137d2be956
child 4279 b697a26ed538
--- a/hedgewars/GSHandlers.inc	Fri Nov 12 16:00:28 2010 -0500
+++ b/hedgewars/GSHandlers.inc	Fri Nov 12 16:06:06 2010 -0500
@@ -318,7 +318,7 @@
     if Gear^.AdvBounce > 1 then dec(Gear^.AdvBounce);
 
     if isFalling then Gear^.dY := Gear^.dY + cGravity;
-    if (GameFlags and gfMoreWind) <> 0 then Gear^.dX := Gear^.dX + cWindSpeed * _4 / HHGear^.Radius;
+    if (GameFlags and gfMoreWind) <> 0 then Gear^.dX := Gear^.dX + cWindSpeed * _4 / Gear^.Radius;
 
     Gear^.X := Gear^.X + Gear^.dX;
     Gear^.Y := Gear^.Y + Gear^.dY;