Last try to get rope not to get stuck in the ground
authorunc0rr
Wed, 30 Jul 2008 12:20:14 +0000
changeset 1142 2c522c1ded31
parent 1141 44d4d6aaecb5
child 1143 ab76fd68320e
Last try to get rope not to get stuck in the ground
hedgewars/GSHandlers.inc
--- a/hedgewars/GSHandlers.inc	Wed Jul 30 12:14:24 2008 +0000
+++ b/hedgewars/GSHandlers.inc	Wed Jul 30 12:20:14 2008 +0000
@@ -608,8 +608,8 @@
 cc:= cc * len; // rope vector plus hedgehog direction vector normalized
 cs:= cs * len;
 
-nx:= hwAbs(cs) * hwSign(HHGear^.dX) * 5; // hedgehog direction normalized with length 3
-ny:= hwAbs(cc) * hwSign(HHGear^.dY) * 5;
+nx:= hwAbs(cs) * hwSign(HHGear^.dX) * 7; // hedgehog direction normalized with length 7
+ny:= hwAbs(cc) * hwSign(HHGear^.dY) * 7;
 
 flCheck:= not flCheck;
 if flCheck then  // check whether rope needs dividing