# HG changeset patch # User nemo # Date 1340755524 14400 # Node ID b242e91a92a98ab910b6729f4352c53696399419 # Parent 3eac6e64b20bcd414d023a9942b26c0e651a3f76 Extend TARDIS away time a bit (minimum, range) to make it a bit more useful. Remove a couple of unused variables. diff -r 3eac6e64b20b -r b242e91a92a9 hedgewars/GSHandlers.inc --- a/hedgewars/GSHandlers.inc Wed Jun 27 01:25:26 2012 +0200 +++ b/hedgewars/GSHandlers.inc Tue Jun 26 20:05:24 2012 -0400 @@ -5377,7 +5377,7 @@ end; Gear^.Pos:= 4; // This condition might need tweaking - Gear^.Timer:= GetRandom(cHedgehogTurnTime*TeamsCount)+cHedgehogTurnTime + Gear^.Timer:= GetRandom(cHedgehogTurnTime*TeamsCount*2)+cHedgehogTurnTime*2 end; if (Gear^.Pos = 4) then diff -r 3eac6e64b20b -r b242e91a92a9 hedgewars/uCollisions.pas --- 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