# HG changeset patch # User unc0rr # Date 1230479920 0 # Node ID 5657cd89668d0412e3ec494654d55bbc0e9882cc # Parent 77f326c7f0efc0af6f2b2ae9393f5c8ae10f54da Fix rope animation diff -r 77f326c7f0ef -r 5657cd89668d hedgewars/GSHandlers.inc --- a/hedgewars/GSHandlers.inc Sun Dec 28 15:57:10 2008 +0000 +++ b/hedgewars/GSHandlers.inc Sun Dec 28 15:58:40 2008 +0000 @@ -666,6 +666,9 @@ tx:= tx * len; // rope vector plus hedgehog direction vector normalized ty:= ty * len; +Gear^.dX:= tx; // for visual purposes only +Gear^.dY:= ty; + haveDivided:= false; // check whether rope needs dividing len:= _1 / Distance(ropeDx, ropeDy); // old rope pos