hedgewars/uGearsHedgehog.pas
changeset 10443 42dadeb6e8ae
parent 10435 4c8fc3aa9432
child 10577 5e075da5e0a4
--- a/hedgewars/uGearsHedgehog.pas	Sat Oct 25 10:42:30 2014 -0400
+++ b/hedgewars/uGearsHedgehog.pas	Sat Oct 25 11:29:45 2014 -0400
@@ -118,13 +118,6 @@
         end;
         if ammoidx >= 0 then
             CurAmmoType:= Ammo^[slot, ammoidx].AmmoType;
-    if (prevAmmo <> CurAmmoType) then
-        begin
-        if CurAmmoType = amKnife then
-            LoadHedgehogHat(HHGear^.Hedgehog^, 'Reserved/chef')
-        else if prevAmmo = amKnife then
-            LoadHedgehogHat(HHGear^.Hedgehog^, Hat);
-        end;
     // Try again in the next slot
     if (CurAmmoType = prevAmmo) and (slot < cMaxSlotIndex) then
         begin