hedgewars/uGearsHedgehog.pas
changeset 10579 2effda40c3b2
parent 10577 5e075da5e0a4
child 10669 4c78eafe76ac
--- a/hedgewars/uGearsHedgehog.pas	Sat Nov 29 14:00:40 2014 -0500
+++ b/hedgewars/uGearsHedgehog.pas	Sat Nov 29 14:57:07 2014 -0500
@@ -443,6 +443,7 @@
                       amTardis, amPiano,
                       amIceGun, amRubber: CurAmmoGear:= newGear;
             end;
+	    if CurAmmoType = amCake then FollowGear:= newGear;
 
             if ((CurAmmoType = amMine) or (CurAmmoType = amSMine)) and (GameFlags and gfInfAttack <> 0) then
                 newGear^.FlightTime:= GameTicks + 1000