hedgewars/uCollisions.pas
changeset 7305 b242e91a92a9
parent 7272 71df899c4163
child 7489 43a998fbacfe
--- a/hedgewars/uCollisions.pas	Wed Jun 27 01:25:26 2012 +0200
+++ b/hedgewars/uCollisions.pas	Tue Jun 26 20:05:24 2012 -0400
@@ -136,7 +136,6 @@
 
 function TestCollisionXwithGear(Gear: PGear; Dir: LongInt): boolean;
 var x, y, i: LongInt;
-    TestWord: LongWord;
 begin
 // Special case to emulate the old intersect gear clearing, but with a bit of slop for pixel overlap
 if (Gear^.CollisionMask = $FF7F) and (Gear^.Hedgehog <> nil) and (Gear^.Hedgehog^.Gear <> nil) and
@@ -167,7 +166,6 @@
 
 function TestCollisionYwithGear(Gear: PGear; Dir: LongInt): Word;
 var x, y, i: LongInt;
-    TestWord: LongWord;
 begin
 // Special case to emulate the old intersect gear clearing, but with a bit of slop for pixel overlap
 if (Gear^.CollisionMask = $FF7F) and (Gear^.Hedgehog <> nil) and (Gear^.Hedgehog^.Gear <> nil) and