hedgewars/GSHandlers.inc
changeset 1554 5657cd89668d
parent 1553 77f326c7f0ef
child 1555 0a62938e695a
--- 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