Skip to content

Commit

Permalink
Drill: Increased speed and explosion size
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisIgel committed Dec 31, 2020
1 parent 14ef16a commit 3608cb4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions hedgewars/uGearsHandlersMess.pas
Original file line number Diff line number Diff line change
Expand Up @@ -4317,10 +4317,10 @@ procedure doStepDrillDrilling(Gear: PGear);
exit;
end;

DrawTunnel(Gear^.X, Gear^.Y, Gear^.dX, Gear^.dY, 2, 6);
Gear^.X := Gear^.X + Gear^.dX;
Gear^.Y := Gear^.Y + Gear^.dY;
if (Gear^.Timer mod 30) = 0 then
DrawTunnel(Gear^.X, Gear^.Y, Gear^.dX, Gear^.dY, 16, 6);
Gear^.X := Gear^.X + Gear^.dX * 8;
Gear^.Y := Gear^.Y + Gear^.dY * 8;
if (Gear^.Timer mod 20) = 0 then
AddVisualGear(hwRound(Gear^.X + _20 * Gear^.dX), hwRound(Gear^.Y + _20 * Gear^.dY), vgtDust);
if (CheckGearDrowning(Gear)) then
begin
Expand Down
2 changes: 1 addition & 1 deletion hedgewars/uGearsList.pas
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ function AddGear(X, Y: LongInt; Kind: TGearType; State: Longword; dX, dY: hwFloa
gtWatermelon: Gear^.Boom := 75;
gtHellishBomb: Gear^.Boom := 150;
gtDrill: if Gear^.State and gsttmpFlag = 0 then
Gear^.Boom := 50
Gear^.Boom := 150
else Gear^.Boom := 60;
gtBall: Gear^.Boom := 40;
gtRCPlane: Gear^.Boom := 25;
Expand Down

0 comments on commit 3608cb4

Please sign in to comment.