hedgewars/GSHandlers.inc
changeset 370 c75410fe3133
parent 358 236bbd12d4d9
child 371 731ad6d27bd1
--- a/hedgewars/GSHandlers.inc	Fri Jan 26 22:36:21 2007 +0000
+++ b/hedgewars/GSHandlers.inc	Sat Jan 27 14:06:29 2007 +0000
@@ -554,7 +554,7 @@
                 begin
                 X:= Gear^.X;
                 Y:= Gear^.Y;
-                if RopePoints.Count = 0 then RopePoints.HookAngle:= 0;//DxDy2Angle32(Gear^.dY, Gear^.dX);
+                if RopePoints.Count = 0 then RopePoints.HookAngle:= DxDy2Angle32(Gear^.dY, Gear^.dX);
                 b:= (cc * HHGear^.dY) > (cs * HHGear^.dX);
                 dLen:= len
                 end;