hedgewars/HHHandlers.inc
changeset 5279 66969e7494c5
parent 5197 9fa96377a69c
child 5287 ffc1475a4afd
--- a/hedgewars/HHHandlers.inc	Tue Jun 21 20:51:51 2011 +0200
+++ b/hedgewars/HHHandlers.inc	Tue Jun 21 22:47:12 2011 +0200
@@ -316,7 +316,7 @@
                     end;
                    amDrillStrike: AddGear(CurWeapon^.Pos, 0, gtAirAttack, 3, _0, _0, CurWeapon^.Timer);
                    //amMelonStrike: AddGear(CurWeapon^.Pos, 0, gtAirAttack, 4, _0, _0, 0);
-                     amStructure: CurAmmoGear:= AddGear(hwRound(X), hwRound(Y), gtStructure, 0, _0, _0, 0);
+                     amStructure: CurAmmoGear:= AddGear(hwRound(lx) + hwSign(dX) * 7, hwRound(ly), gtStructure, gstWait, SignAs(_0_02, dX), _0, 3000);
                         amTardis: CurAmmoGear:= AddGear(hwRound(X), hwRound(Y), gtTardis, 0, _0, _0, 5000);
                   end;