hedgewars/uGearsHedgehog.pas
changeset 15633 d347785fd61c
parent 15415 b7e40129dbdb
child 15649 ea189ee9394f
--- a/hedgewars/uGearsHedgehog.pas	Mon Jun 08 20:40:04 2020 +0200
+++ b/hedgewars/uGearsHedgehog.pas	Mon Jun 08 20:41:24 2020 +0200
@@ -529,7 +529,8 @@
                   amMineStrike, amDrillStrike,
                       amRubber, amMinigun: CurAmmoGear:= newGear;
             end;
-            if CurAmmoType = amCake then FollowGear:= newGear;
+            if (CurAmmoType = amCake) or (CurAmmoType = amPiano) then
+                FollowGear:= newGear;
 
             if ((CurAmmoType = amMine) or (CurAmmoType = amSMine) or (CurAmmoType = amAirMine)) and (GameFlags and gfInfAttack <> 0) then
                 newGear^.FlightTime:= GameTicks + min(TurnTimeLeft,1000)