hedgewars/GSHandlers.inc
changeset 219 73a2bf84d0e6
parent 212 c8c650b23e32
child 263 36379e6abcdd
--- a/hedgewars/GSHandlers.inc	Sun Oct 29 12:44:01 2006 +0000
+++ b/hedgewars/GSHandlers.inc	Sun Oct 29 13:06:27 2006 +0000
@@ -372,7 +372,7 @@
 if TestCollisionYwithGear(Gear, 1) then
    begin
    Gear.dY:= 0;
-   HHGear.dX:= 0.0000001 * hwSign(PGear(Gear.Hedgehog).dX);
+   HHGear.dX:= 0.0000001 * hwSign(HHGear.dX);
    HHGear.dY:= 0;
    end else
    begin