Fix rope regression (unable to change angle)
authorunc0rr
Sun, 01 Feb 2009 16:00:54 +0000
changeset 1785 26c28fa8f56c
parent 1784 dfe9bafb4590
child 1786 201bd1c48f1a
Fix rope regression (unable to change angle)
hedgewars/GSHandlers.inc
--- a/hedgewars/GSHandlers.inc	Sun Feb 01 15:58:44 2009 +0000
+++ b/hedgewars/GSHandlers.inc	Sun Feb 01 16:00:54 2009 +0000
@@ -652,6 +652,8 @@
 	exit
 	end;
 
+HedgehogChAngle(HHGear);
+
 if TestCollisionXwithGear(HHGear, hwSign(HHGear^.dX)) then SetLittle(HHGear^.dX);
 if HHGear^.dY.isNegative and TestCollisionYwithGear(HHGear, -1) then HHGear^.dY:= _0;
 HHGear^.X:= HHGear^.X + HHGear^.dX;