# HG changeset patch # User unc0rr # Date 1217420414 0 # Node ID 2c522c1ded3187b036cb500196b005b755bd10f6 # Parent 44d4d6aaecb55947356b35f6caa0609c07ae939e Last try to get rope not to get stuck in the ground diff -r 44d4d6aaecb5 -r 2c522c1ded31 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