hedgewars/GSHandlers.inc
changeset 798 02753868d459
parent 789 3d976d2579eb
child 801 0323e5c7ee54
--- a/hedgewars/GSHandlers.inc	Wed Mar 05 19:34:52 2008 +0000
+++ b/hedgewars/GSHandlers.inc	Fri Mar 07 13:16:11 2008 +0000
@@ -1163,16 +1163,16 @@
 
 ////////////////////////////////////////////////////////////////////////////////
 procedure doStepTeleportAfter(Gear: PGear);
-var HHGear: PGear;
+//var HHGear: PGear;
 begin
-HHGear:= PHedgehog(Gear^.Hedgehog)^.Gear;
-HHGear^.Y:= HHGear^.Y + HHGear^.dY;
-HHGear^.dY:= HHGear^.dY + cGravity;
-if TestCollisionYwithGear(HHGear, 1) then
-   begin
+//HHGear:= PHedgehog(Gear^.Hedgehog)^.Gear;
+//HHGear^.Y:= HHGear^.Y + HHGear^.dY;
+//HHGear^.dY:= HHGear^.dY + cGravity;
+//if TestCollisionYwithGear(HHGear, 1) then
+//   begin
    DeleteGear(Gear);
    AfterAttack
-   end
+//   end
 end;
 
 procedure doStepTeleport(Gear: PGear);