Fix kamikaze portal loop
authornemo
Sun, 12 Sep 2010 17:56:41 -0400
changeset 3852 37f883cc7edb
parent 3851 fbe2e9722fc9
child 3853 9bd5319d1fcc
Fix kamikaze portal loop
hedgewars/GSHandlers.inc
--- a/hedgewars/GSHandlers.inc	Sun Sep 12 23:43:20 2010 +0200
+++ b/hedgewars/GSHandlers.inc	Sun Sep 12 17:56:41 2010 -0400
@@ -2306,6 +2306,9 @@
     HHGear^.State := HHGear^.State or gstNoDamage;
     DeleteCI(HHGear);
 
+    Gear^.X := HHGear^.X;
+    Gear^.Y := HHGear^.Y;
+
     i := 2;
     repeat
         Gear^.X := Gear^.X + HHGear^.dX;